Log exceptions as :error instead of :fatal
As mentioned in the pull request introducing this change [1]: > FATAL is documented in the Ruby Logger docs as being for "An > unhandleable error that results in a program crash.", which does not > really apply to this case since DebugExceptions is handling the error. So we're using the new default value, which makes more sense. [1] Pull request 48575 in https://github.com/rails/rails
This commit is contained in:
@@ -245,7 +245,7 @@ Rails.application.config.action_view.sanitizer_vendor = Rails::HTML::Sanitizer.b
|
||||
# Configure the log level used by the DebugExceptions middleware when logging
|
||||
# uncaught exceptions during requests.
|
||||
#++
|
||||
# Rails.application.config.action_dispatch.debug_exception_log_level = :error
|
||||
Rails.application.config.action_dispatch.debug_exception_log_level = :error
|
||||
|
||||
|
||||
###
|
||||
|
||||
Reference in New Issue
Block a user