From 95b2e421b1294af590f83722f50ad3d3b41c3566 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Thu, 24 Dec 2020 18:15:01 +0100 Subject: [PATCH] fix syntax #690 --- app/models/other_doi.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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