Permalink
Browse files

Use error logging for missing template

  • Loading branch information...
1 parent bc7adc4 commit 59a1409b8c23c0f1376aff5adc366153e3361771 @dhh dhh committed Aug 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cache_digests/template_digestor.rb
@@ -57,7 +57,7 @@ def partial?
def source
@source ||= finder.find(logical_name, [], partial?, formats: [ format ]).source
rescue ActionView::MissingTemplate
- logger.try :info, "Couldn't find template for digesting: #{logical_name}"
+ logger.try :error, "Couldn't find template for digesting: #{logical_name}"
''
end

0 comments on commit 59a1409

Please sign in to comment.