diff --git a/app/jobs/crossref_doi_by_id_job.rb b/app/jobs/crossref_doi_by_id_job.rb index 40dc74e3c..73ff468be 100644 --- a/app/jobs/crossref_doi_by_id_job.rb +++ b/app/jobs/crossref_doi_by_id_job.rb @@ -49,7 +49,7 @@ def perform(id) if [200, 201].include?(response.status) logger.info "DOI #{doi} created." else - logger.warn "[Error for DOI #{doi}]: " + response.body["errors"] + logger.warn "[Error for DOI #{doi}]: " + response.body["errors"].inspect end end