Fixed issue of unnecessary "Unable to get asset for 'article':..." logging.
This commit is contained in:
parent
7a1acbe101
commit
050fdca64b
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ get assets and record_ids of selector
|
||||||
begin
|
begin
|
||||||
attribute_class = attribute[0].to_classname.constantize
|
attribute_class = attribute[0].to_classname.constantize
|
||||||
rescue => e
|
rescue => e
|
||||||
|
next if attribute[0] == 'article'
|
||||||
logger.error "Unable to get asset for '#{attribute[0]}': #{e.inspect}"
|
logger.error "Unable to get asset for '#{attribute[0]}': #{e.inspect}"
|
||||||
next
|
next
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue