From 4bb9ff5b9e7b33e757cbb63d43c7bf6f5a4e5205 Mon Sep 17 00:00:00 2001 From: Juraj Smiesko Date: Mon, 28 Oct 2024 16:58:59 +0100 Subject: [PATCH] Print error message in the histmaker style --- python/run_analysis.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/run_analysis.py b/python/run_analysis.py index e4445421d3..b1bfe51f84 100644 --- a/python/run_analysis.py +++ b/python/run_analysis.py @@ -816,7 +816,8 @@ def run_histmaker(args, rdf_module, anapath): try: res, hweight = graph_function(dframe, process_name) - except cppyy.gbl.std.runtime_error: + except cppyy.gbl.std.runtime_error as err: + LOGGER.error(err) LOGGER.error('During loading of the analysis an error occurred!' '\nAborting...') sys.exit(3)