diff --git a/app/models/other_doi.rb b/app/models/other_doi.rb index 5f7a0c6ce..9e8dea44c 100644 --- a/app/models/other_doi.rb +++ b/app/models/other_doi.rb @@ -162,7 +162,7 @@ def self.import_in_bulk(dois, options = {}) Faraday::ConnectionFailed, ActiveRecord::LockWaitTimeout => e - Rails.logger.error "[Elasticsearch] Error #{class} with message #{ + Rails.logger.error "[Elasticsearch] Error #{e.class} with message #{ e.message } importing Other DOIs." end