aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorYehuda Katz <wycats@gmail.com>2009-03-17 18:04:41 -0700
committerYehuda Katz <wycats@gmail.com>2009-03-17 18:04:41 -0700
commite6e3e3dfbc2dda1e25dea75d8d2c746b192638e9 (patch)
tree8f1ce1e7febd059477b5ccf28acf6880fc327dca /actionpack
parentf55514125cae291791365effc856d237008f7cd2 (diff)
downloadrails-e6e3e3dfbc2dda1e25dea75d8d2c746b192638e9.tar.gz
rails-e6e3e3dfbc2dda1e25dea75d8d2c746b192638e9.tar.bz2
rails-e6e3e3dfbc2dda1e25dea75d8d2c746b192638e9.zip
Temporarily reraise to simplify debugging
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/dispatch/dispatcher.rb1
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