From 29b32216ff7efbd9b54fc86ca30e65398fb4f9c1 Mon Sep 17 00:00:00 2001 From: Jonathan Hefner Date: Mon, 3 Jul 2023 13:47:08 -0500 Subject: [PATCH] Link to ActionDispatch::DebugExceptions API doc [ci-skip] This also adds missing punctuation and formatting. --- guides/source/configuring.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/guides/source/configuring.md b/guides/source/configuring.md index a71661878ba6c..799c58ee9060e 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -1800,8 +1800,8 @@ The default value depends on the `config.load_defaults` target version: #### `config.action_dispatch.debug_exception_log_level` -Configure the log level used by the DebugExceptions middleware when logging -uncaught exceptions during requests +Configures the log level used by the [`ActionDispatch::DebugExceptions`][] +middleware when logging uncaught exceptions during requests. The default value depends on the `config.load_defaults` target version: @@ -1810,6 +1810,8 @@ The default value depends on the `config.load_defaults` target version: | (original) | `:fatal` | | 7.1 | `:error` | +[`ActionDispatch::DebugExceptions`]: https://api.rubyonrails.org/classes/ActionDispatch/DebugExceptions.html + #### `config.action_dispatch.default_headers` Is a hash with HTTP headers that are set by default in each response.