From b614d64a5d5df0a0588083dc82315f52091cbc3a Mon Sep 17 00:00:00 2001 From: Charles Titus Date: Thu, 7 Nov 2024 15:18:46 -0500 Subject: [PATCH] Printing exception instead of just a generic message --- end_of_run_export.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/end_of_run_export.py b/end_of_run_export.py index df7f721..b5ed0e4 100644 --- a/end_of_run_export.py +++ b/end_of_run_export.py @@ -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