From 0cb4fcaeb983e90696c14297b214d9d321005d0e Mon Sep 17 00:00:00 2001 From: Dmitrii Golovanov Date: Wed, 5 Feb 2025 08:22:55 +0100 Subject: [PATCH] twister: runner: Log trace on general exception Log trace on general exception at ProjectBuilder to provide more details on its cause. Signed-off-by: Dmitrii Golovanov --- scripts/pylib/twister/twisterlib/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pylib/twister/twisterlib/runner.py b/scripts/pylib/twister/twisterlib/runner.py index b47899d82e84..0593cbc7fc3a 100644 --- a/scripts/pylib/twister/twisterlib/runner.py +++ b/scripts/pylib/twister/twisterlib/runner.py @@ -2017,7 +2017,7 @@ def pipeline_mgr(self, pipeline, done_queue, lock, results): break return True except Exception as e: - logger.error(f"General exception: {e}") + logger.error(f"General exception: {e}\n{traceback.format_exc()}") sys.exit(1) def execute(self, pipeline, done):