We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 987ad29 commit d1a92f7Copy full SHA for d1a92f7
app/models/publication.rb
@@ -471,7 +471,7 @@ def fetch_pubmed_or_doi_result(pubmed_id, doi)
471
@error = 'The DOI resolved to an unsupported resource type.'
472
rescue RuntimeError => e
473
@error = 'There was a problem contacting the DOI query service. Please add the publication manually instead.'
474
- Seek::Errors::ExceptionForwarder.send_notification(exception, data: {message: "Problem fetching DOI #{doi} : #{e.message}"})
+ Seek::Errors::ExceptionForwarder.send_notification(e, data: {message: "Problem fetching DOI #{doi} : #{e.message}"})
475
end
476
else
477
@error = 'Please enter either a DOI or a PubMed ID for the publication.'
0 commit comments