Skip to content

Commit

Permalink
Merge pull request #1540 from dandi/print-doi-response-error-info
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandenburgh authored Mar 17, 2023
2 parents 2ab2f20 + f6418bb commit f2cd24a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dandiapi/api/doi.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def create_doi(version: Version) -> str:
except requests.exceptions.HTTPError as e:
logging.error('Failed to create DOI %s', doi)
logging.error(request_body)
logging.error(e.response.text)
raise e
return doi

Expand Down

0 comments on commit f2cd24a

Please sign in to comment.