fixes #2316 (and similar post error messages)

This commit is contained in:
Toks
2014-11-30 14:48:51 -05:00
parent cdd17de0af
commit 90bca638bf
2 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ class ApplicationController < ActionController::Base
rescue_from User::PrivilegeError, :with => :access_denied
rescue_from Danbooru::Paginator::PaginationError, :with => :render_pagination_limit
# rescue_from Exception, :with => :rescue_exception
rescue_from Exception, :with => :rescue_exception
protected
def api_check