diff --git a/app/controllers/announcements_controller.rb b/app/controllers/announcements_controller.rb index fce2b0e..fe15a7f 100644 --- a/app/controllers/announcements_controller.rb +++ b/app/controllers/announcements_controller.rb @@ -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