You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For instance, when user specifies rescue_responses, he might want to skip flushing those exceptions backtrace into log.
Currently both show_exceptions.rb and debug_exceptions.rb share the same option. Thus if we want show_exceptions = true, we get log for all exceptions, even for DocumentNotFound. For some cases 404 in that case is not critical situation and thus backtrace about cause of error is not required. If we set show_exceptions = false we will pass this exception to upper level, i.e. ShowException will skip handling them with rescue_responses.
I propose either to provide some options to specify which exceptions should be silenced (completely), or add some logic to deal with registered exceptions in rescue_responses.