From 3b7cf08e7840397ecc43e93e111c2cc7f8aacc67 Mon Sep 17 00:00:00 2001 From: Michael Thornton Date: Fri, 22 Nov 2024 09:35:00 -0800 Subject: [PATCH] dump failing update query to the log --- nmdc_automation/run_process/run_import.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nmdc_automation/run_process/run_import.py b/nmdc_automation/run_process/run_import.py index 922765d3..970f3791 100644 --- a/nmdc_automation/run_process/run_import.py +++ b/nmdc_automation/run_process/run_import.py @@ -85,6 +85,7 @@ def import_projects(import_file, import_yaml, site_configuration, iteration): runtime.run_query(data_generation_update) except Exception as e: logger.error(f"Error applying update to sequencing data generation: {e}") + logger.error(data_generation_update) raise e