Skip to content

Commit

Permalink
Fixes #3100 - Avoid unnecessary error message: Unable to get asset fo…
Browse files Browse the repository at this point in the history
…r 'customer'.
  • Loading branch information
thorsteneckel committed Jul 6, 2020
1 parent 0da0004 commit e48f49a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/application_model/can_assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def assets_of_selector(selector, assets = {})
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}"
Expand Down

0 comments on commit e48f49a

Please sign in to comment.