Commit 48a36851e60249565e0869f88a05b36252c7e893
1 parent
39def0dc
Exists in
master
and in
4 other branches
It's dangerous to rescue errors here as it will hide bugs. define_tree_vars alre…
…ady catch all situations where something may not exist.
Showing
1 changed file
with
0 additions
and
4 deletions
Show diff stats
app/controllers/refs_controller.rb
@@ -44,8 +44,6 @@ class RefsController < ApplicationController | @@ -44,8 +44,6 @@ class RefsController < ApplicationController | ||
44 | no_cache_headers | 44 | no_cache_headers |
45 | end | 45 | end |
46 | end | 46 | end |
47 | - rescue | ||
48 | - return render_404 | ||
49 | end | 47 | end |
50 | 48 | ||
51 | def blob | 49 | def blob |
@@ -66,8 +64,6 @@ class RefsController < ApplicationController | @@ -66,8 +64,6 @@ class RefsController < ApplicationController | ||
66 | else | 64 | else |
67 | head(404) | 65 | head(404) |
68 | end | 66 | end |
69 | - rescue | ||
70 | - return render_404 | ||
71 | end | 67 | end |
72 | 68 | ||
73 | def blame | 69 | def blame |