diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2013-01-01 02:14:23 -0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2013-01-01 02:14:23 -0800 |
commit | 8d945f4f97748bfc5083fe1d0020368598a79e47 (patch) | |
tree | ddcd90f0bc2c43b76955a2145121f95e4a5fea77 /actionpack/lib/action_dispatch/middleware/debug_exceptions.rb | |
parent | 56aa02f1ab66cfda8f5c8bdbd088dfd38b633cb7 (diff) | |
parent | 25c8770a6cbbc4922446085addaa5a41d0e4e1b6 (diff) | |
download | rails-8d945f4f97748bfc5083fe1d0020368598a79e47.tar.gz rails-8d945f4f97748bfc5083fe1d0020368598a79e47.tar.bz2 rails-8d945f4f97748bfc5083fe1d0020368598a79e47.zip |
Merge pull request #8668 from guilleiguaran/exceptions
New exceptions pages for development
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/debug_exceptions.rb')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/debug_exceptions.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb b/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb index 6705e531cb..ac8f6af7fe 100644 --- a/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb +++ b/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb @@ -42,7 +42,10 @@ module ActionDispatch :application_trace => wrapper.application_trace, :framework_trace => wrapper.framework_trace, :full_trace => wrapper.full_trace, - :routes => formatted_routes(exception) + :routes => formatted_routes(exception), + :source_extract => wrapper.source_extract, + :line_number => wrapper.line_number, + :file => wrapper.file ) file = "rescues/#{wrapper.rescue_template}" |