Skip to content

Commit

Permalink
Add log message for DOI creation
Browse files Browse the repository at this point in the history
  • Loading branch information
danlamanna committed Jul 20, 2023
1 parent d974082 commit 15ef650
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions isic/core/services/collection/doi.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,6 @@ def collection_create_doi(*, user: User, collection: Collection) -> Doi:
doi.save()
collection_lock(collection=collection)
collection_update(collection=collection, doi=doi, ignore_lock=True)
logger.info("User %d created DOI %s for collection %d", user.id, doi.id, collection.id)

return doi

0 comments on commit 15ef650

Please sign in to comment.