aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/compiled_templates.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_view/compiled_templates.rb')
-rw-r--r--actionpack/lib/action_view/compiled_templates.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/compiled_templates.rb b/actionpack/lib/action_view/compiled_templates.rb
index a00a7578bb..deb730f4da 100644
--- a/actionpack/lib/action_view/compiled_templates.rb
+++ b/actionpack/lib/action_view/compiled_templates.rb
@@ -55,7 +55,7 @@ module ActionView
begin
module_eval(method_def, fake_file_name, initial_line_number)
@mtimes[full_key(identifier, arg_names)] = Time.now
- rescue Object => e
+ rescue Exception => e # errors from compiled source
e.blame_file! identifier
raise
end