print error
This commit is contained in:
parent
151748bcb8
commit
034d08971a
|
@ -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'
|
render :file => "#{Rails.root}/app/views/errors/403.html", :layout => false, :status => :not_found, :content_type => 'text/html'
|
||||||
return
|
return
|
||||||
end
|
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'
|
render :file => "#{Rails.root}/app/views/errors/404.html", :layout => false, :status => :not_found, :content_type => 'text/html'
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue