Skip to content

Commit

Permalink
Merge pull request #727 from ImageMarkup/isic-104-add-doi-log-message
Browse files Browse the repository at this point in the history
Add log message for DOI creation
  • Loading branch information
danlamanna committed Jul 20, 2023
2 parents d974082 + 15ef650 commit 4050001
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 4050001

Please sign in to comment.