aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-02-11 21:44:22 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2016-02-11 21:44:22 +0100
commitf9f98b75b57f7ab264e6af0abcda898fe166b828 (patch)
treee597629bb3f515ed1648218f281ac73ae653b0bb /actionview
parent57ac7774bf4bd6e6435b074267c56524662f77e3 (diff)
downloadrails-f9f98b75b57f7ab264e6af0abcda898fe166b828.tar.gz
rails-f9f98b75b57f7ab264e6af0abcda898fe166b828.tar.bz2
rails-f9f98b75b57f7ab264e6af0abcda898fe166b828.zip
Don't capture the MissingTemplate exception.
Wasn't removed in 57ac777.
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/digestor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/digestor.rb b/actionview/lib/action_view/digestor.rb
index 886ef33b7e..3a6cf63803 100644
--- a/actionview/lib/action_view/digestor.rb
+++ b/actionview/lib/action_view/digestor.rb
@@ -66,7 +66,7 @@ module ActionView
Digest::MD5.hexdigest("#{source}-#{dependency_digest}").tap do |digest|
logger.debug " Cache digest for #{template.inspect}: #{digest}"
end
- rescue ActionView::MissingTemplate => c
+ rescue ActionView::MissingTemplate
logger.error " Couldn't find template for digesting: #{name}"
''
end