diff --git a/app/models/doi.rb b/app/models/doi.rb index f79958bca..b073f4f09 100644 --- a/app/models/doi.rb +++ b/app/models/doi.rb @@ -1207,7 +1207,7 @@ def self.index_one(doi_id: nil) def self.import_one(doi_id: nil) doi = Doi.where(doi: doi_id).first if doi.blank? - message = "[MySQL] Error importing DOI " + doi_id + ": not found" + message = "[MySQL] Error importing DOI #{doi_id}: not found" Rails.logger.error message return message end