From e6e3e3dfbc2dda1e25dea75d8d2c746b192638e9 Mon Sep 17 00:00:00 2001 From: Yehuda Katz Date: Tue, 17 Mar 2009 18:04:41 -0700 Subject: Temporarily reraise to simplify debugging --- actionpack/lib/action_controller/dispatch/dispatcher.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionpack') 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 -- cgit v1.2.3