From: Tom Hughes Date: Fri, 27 Oct 2023 16:55:24 +0000 (+0100) Subject: Change log level for DebugExceptions to error X-Git-Tag: live~943^2~2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/416334cbbc3ac3037dd559cfa5dc561950da642f Change log level for DebugExceptions to error --- diff --git a/config/initializers/new_framework_defaults_7_1.rb b/config/initializers/new_framework_defaults_7_1.rb index 4b92cdcec..be8b8c765 100644 --- a/config/initializers/new_framework_defaults_7_1.rb +++ b/config/initializers/new_framework_defaults_7_1.rb @@ -209,7 +209,7 @@ Rails.application.config.action_text.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 # Configure the test helpers in Action View, Action Dispatch, and rails-dom-testing to use HTML5 # parsers.