Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
vemonet committed Apr 8, 2024
1 parent f9faa80 commit a3aa784
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,9 @@ async def upload_cohort(
os.remove(metadata_path)
raise e

log.info("Cohort metadata uploaded successfully")
print("Cohort metadata uploaded successfully")
cohorts_dict = retrieve_cohorts_metadata(user["email"])
log.info("Cohort metadata retrieved successfully")
print("Cohort metadata retrieved successfully")
try:
dcr_data = create_provision_dcr(user, cohorts_dict.get(cohort_id))
except Exception as e:
Expand Down

0 comments on commit a3aa784

Please sign in to comment.