]> git.openstreetmap.org Git - rails.git/commitdiff
Change log level for DebugExceptions to error
authorTom Hughes <tom@compton.nu>
Fri, 27 Oct 2023 16:55:24 +0000 (17:55 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 27 Oct 2023 16:55:24 +0000 (17:55 +0100)
config/initializers/new_framework_defaults_7_1.rb

index 4b92cdcec7c28c535cc49687fcaa040b1ac17b3e..be8b8c7650fce702568f6492f7ca48133f67e499 100644 (file)
@@ -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.