Fixes #3100 - Avoid unnecessary error message: Unable to get asset for 'customer'.

This commit is contained in:
Thorsten Eckel 2020-07-06 11:34:12 +02:00
parent 0da00041a5
commit e48f49a1a9

View file

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