Skip to content
Snippets Groups Projects
Commit 48a36851 authored by Gabriel Mazetto's avatar Gabriel Mazetto
Browse files

It's dangerous to rescue errors here as it will hide bugs. define_tree_vars...

It's dangerous to rescue errors here as it will hide bugs. define_tree_vars already catch all situations where something may not exist.
parent 39def0dc
No related branches found
No related tags found
1 merge request!864Fix many encoding problems
Loading
Loading
@@ -44,8 +44,6 @@ class RefsController < ApplicationController
no_cache_headers
end
end
rescue
return render_404
end
 
def blob
Loading
Loading
@@ -66,8 +64,6 @@ class RefsController < ApplicationController
else
head(404)
end
rescue
return render_404
end
 
def blame
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment