From 87ab65b25cab6999d7278c0a7eb38b0e58298915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20St=C3=B6ckli?= Date: Mon, 11 May 2026 12:53:38 +0000 Subject: [PATCH] log all exceptions + log stacktrace --- src/seclab_taskflow_agent/runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/seclab_taskflow_agent/runner.py b/src/seclab_taskflow_agent/runner.py index 7c56bea2..bf02e3a7 100644 --- a/src/seclab_taskflow_agent/runner.py +++ b/src/seclab_taskflow_agent/runner.py @@ -656,8 +656,8 @@ async def _deploy(ra: dict, pp: str) -> bool: complete = True for result in task_results: - if isinstance(result, Exception): - logging.error(f"Caught exception in Gather: {result}") + if not isinstance(result, bool): + logging.error(f"Caught exception in Gather: {result}", exc_info=result) result = False complete = result and complete return complete