From eb2feee35179aed52fde98097757ac289c818c16 Mon Sep 17 00:00:00 2001 From: Pietro Pasotti Date: Wed, 7 Feb 2024 15:27:17 +0100 Subject: [PATCH] exception logging --- interface_tester/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface_tester/plugin.py b/interface_tester/plugin.py index 0192b09..346fad3 100644 --- a/interface_tester/plugin.py +++ b/interface_tester/plugin.py @@ -328,7 +328,7 @@ def run(self) -> bool: with tester_context(ctx): test_fn() except Exception as e: - logger.error(f"Interface tester plugin failed with {e}", exc_info=True) + logger.exception(f"Interface tester plugin failed with {e}") if self._RAISE_IMMEDIATELY: raise e