From e48f49a1a973730d7797c0c07b04c4f507636e1e Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Mon, 6 Jul 2020 11:34:12 +0200 Subject: [PATCH] Fixes #3100 - Avoid unnecessary error message: Unable to get asset for 'customer'. --- app/models/application_model/can_assets.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/application_model/can_assets.rb b/app/models/application_model/can_assets.rb index 95d2226c7..8aeae3de6 100644 --- a/app/models/application_model/can_assets.rb +++ b/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}"