diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2014-11-16 14:25:30 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2014-11-16 14:25:30 -0500 |
commit | 28dfc6a10b73f5dee2f6e13d5644b8aa7c5a938a (patch) | |
tree | bb2296df51fe8e45fc44288365987de0330d949a /actionpack/lib/action_dispatch | |
parent | 823336c2c8b2492e44d532c452a81ef91134468c (diff) | |
parent | 2301d8cd26c6802c2b6729787c2122c52ea8c201 (diff) | |
download | rails-28dfc6a10b73f5dee2f6e13d5644b8aa7c5a938a.tar.gz rails-28dfc6a10b73f5dee2f6e13d5644b8aa7c5a938a.tar.bz2 rails-28dfc6a10b73f5dee2f6e13d5644b8aa7c5a938a.zip |
Merge pull request #17638 from gsamokovarov/focus-application-trace
Don't show full trace on routing errors
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/debug_exceptions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb b/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb index 798c087d64..9755d949e7 100644 --- a/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb +++ b/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb @@ -38,7 +38,7 @@ module ActionDispatch traces = wrapper.traces trace_to_show = 'Application Trace' - if traces[trace_to_show].empty? + if traces[trace_to_show].empty? && wrapper.rescue_template != 'routing_error' trace_to_show = 'Full Trace' end |