Skip to content

Commit

Permalink
coerce integer to string
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Nov 15, 2020
1 parent 97a554a commit de6f36c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/doi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de6f36c

Please sign in to comment.