diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-03-17 18:04:41 -0700 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-03-17 18:04:41 -0700 |
commit | e6e3e3dfbc2dda1e25dea75d8d2c746b192638e9 (patch) | |
tree | 8f1ce1e7febd059477b5ccf28acf6880fc327dca /actionpack/lib/action_controller/dispatch | |
parent | f55514125cae291791365effc856d237008f7cd2 (diff) | |
download | rails-e6e3e3dfbc2dda1e25dea75d8d2c746b192638e9.tar.gz rails-e6e3e3dfbc2dda1e25dea75d8d2c746b192638e9.tar.bz2 rails-e6e3e3dfbc2dda1e25dea75d8d2c746b192638e9.zip |
Temporarily reraise to simplify debugging
Diffstat (limited to 'actionpack/lib/action_controller/dispatch')
-rw-r--r-- | actionpack/lib/action_controller/dispatch/dispatcher.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/dispatch/dispatcher.rb b/actionpack/lib/action_controller/dispatch/dispatcher.rb index e205245f13..df77e22204 100644 --- a/actionpack/lib/action_controller/dispatch/dispatcher.rb +++ b/actionpack/lib/action_controller/dispatch/dispatcher.rb @@ -64,6 +64,7 @@ module ActionController run_callbacks :before_dispatch Routing::Routes.call(@env) rescue Exception => exception + raise exception if controller ||= (::ApplicationController rescue Base) controller.call_with_exception(@env, exception).to_a else |