提交 48a36851 编写于 作者: G Gabriel Mazetto

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.
上级 39def0dc
......@@ -44,8 +44,6 @@ class RefsController < ApplicationController
no_cache_headers
end
end
rescue
return render_404
end
def blob
......@@ -66,8 +64,6 @@ class RefsController < ApplicationController
else
head(404)
end
rescue
return render_404
end
def blame
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册