[stability] Exceptions handled by unexpected handler in production
Issue #147
new
Prod log:
E, [2015-04-29T15:44:16.886847 #1798] ERROR -- : [ERROR] {:status=>:internal_server_error, :message=>"远端服务器出错", :internal_message=>"ActionController::Unauthorized", :options=>{}}
This exception should be handled by rescue_unauthorized
, but in production handled by rescue_all_exceptions
, and thus the internal error message.