Skip to content
Snippets Groups Projects
Commit 4b683341 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed broken error handling on datacite errors.

Changelog: Fixed
parent e480ca1d
No related branches found
No related tags found
1 merge request!1727Fixed broken error handling on datacite errors.
......@@ -558,7 +558,7 @@ async def assign_doi(
doi.make_findable()
except DOIException:
if doi.doi:
dataset.doi = doi
dataset.doi = doi.doi
dataset.save()
raise HTTPException(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment