Browse Source

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

Thorsten Eckel 4 years ago
parent
commit
e48f49a1a9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/models/application_model/can_assets.rb

+ 1 - 0
app/models/application_model/can_assets.rb

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