Skip to content

Commit e9cb2ef

Browse files
golowanowkartben
authored andcommitted
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 <[email protected]>
1 parent cc40ec6 commit e9cb2ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pylib/twister/twisterlib/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2017,7 +2017,7 @@ def pipeline_mgr(self, pipeline, done_queue, lock, results):
20172017
break
20182018
return True
20192019
except Exception as e:
2020-
logger.error(f"General exception: {e}")
2020+
logger.error(f"General exception: {e}\n{traceback.format_exc()}")
20212021
sys.exit(1)
20222022

20232023
def execute(self, pipeline, done):

0 commit comments

Comments
 (0)