1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Stop complaining about not being able to digest dynamic template partial names and simplify error logging to a single line when not

This commit is contained in:
David Heinemeier Hansson 2017-03-22 18:09:16 +01:00
parent 34fe2a4fc7
commit bb04814791

View file

@ -62,8 +62,10 @@ module ActionView
node
end
else
logger.error " '#{name}' file doesn't exist, so no dependencies"
logger.error " Couldn't find template for digesting: #{name}"
unless name.include?('#') # Dynamic template partial names can never be tracked
logger.error " Couldn't find template for digesting: #{name}"
end
seen[name] ||= Missing.new(name, logical_name, nil)
end
end