Improved error logging in case of failing ImportJob.
This commit is contained in:
parent
21421f0695
commit
686f56828d
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ class ImportJob < ApplicationModel
|
|||
instance = name.constantize.new(self)
|
||||
instance.start
|
||||
rescue => e
|
||||
Rails.logger.error "ImportJob '#{name}' failed: #{e.message}"
|
||||
Rails.logger.error e
|
||||
|
||||
# rubocop:disable Style/RedundantSelf
|
||||
|
|
Loading…
Reference in a new issue