From 169fdfb7452fcb864851e1a5360962475641ab88 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Tue, 3 Oct 2017 13:47:50 -0700 Subject: [PATCH] re-enable exception rescuefrom --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index c34e9ee90..09f259778 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -14,7 +14,7 @@ class ApplicationController < ActionController::Base force_ssl :if => :ssl_login? helper_method :show_moderation_notice? - # rescue_from Exception, :with => :rescue_exception + rescue_from Exception, :with => :rescue_exception rescue_from User::PrivilegeError, :with => :access_denied rescue_from SessionLoader::AuthenticationFailure, :with => :authentication_failed rescue_from Danbooru::Paginator::PaginationError, :with => :render_pagination_limit