print error
This commit is contained in:
1 parent
151748bcb8
commit
034d08971a
1 file changed
+2
-1
@@ -675,7 +675,8 @@ class AnnouncementsController < ApplicationController
|
||||
render :file => "#{Rails.root}/app/views/errors/403.html", :layout => false, :status => :not_found, :content_type => 'text/html'
|
||||
return
|
||||
end
|
||||
rescue
|
||||
rescue => e
|
||||
puts [e, e.backtrace]
|
||||
render :file => "#{Rails.root}/app/views/errors/404.html", :layout => false, :status => :not_found, :content_type => 'text/html'
|
||||
return
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user