From f9f98b75b57f7ab264e6af0abcda898fe166b828 Mon Sep 17 00:00:00 2001 From: Kasper Timm Hansen Date: Thu, 11 Feb 2016 21:44:22 +0100 Subject: Don't capture the MissingTemplate exception. Wasn't removed in 57ac777. --- actionview/lib/action_view/digestor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionview') 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 -- cgit v1.2.3