Fixed issue of unnecessary "Unable to get asset for 'article':..." logging.

This commit is contained in:
Thorsten Eckel 2018-04-20 13:49:10 +02:00
parent 7a1acbe101
commit 050fdca64b

View file

@ -63,6 +63,7 @@ get assets and record_ids of selector
begin
attribute_class = attribute[0].to_classname.constantize
rescue => e
next if attribute[0] == 'article'
logger.error "Unable to get asset for '#{attribute[0]}': #{e.inspect}"
next
end