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:
parent
34fe2a4fc7
commit
bb04814791
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue