Skip to content

Commit

Permalink
Printing exception instead of just a generic message
Browse files Browse the repository at this point in the history
  • Loading branch information
cjtitus committed Nov 7, 2024
1 parent 6408186 commit b614d64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions end_of_run_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def export_tes(uid, beamline_acronym="ucal"):
else:
logger.info(f'Noise UID: {get_config_dict(run)["tes_noise_uid"]}')
logger.info(f'Cal UID: {get_config_dict(run)["tes_calibration_uid"]}')
except:
logger.info("Something went wrong with tes export!")
except Exception as e:
logger.info(f"Something went wrong with tes export: {e}")


@flow
Expand Down

0 comments on commit b614d64

Please sign in to comment.