From 55618cb95b73e53a0679aba9d74753159df80a47 Mon Sep 17 00:00:00 2001 From: mike seibel Date: Thu, 7 Mar 2024 13:57:49 -0800 Subject: [PATCH] logger error exception info --- scripts/call_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/call_command.py b/scripts/call_command.py index 973841c..23bc122 100644 --- a/scripts/call_command.py +++ b/scripts/call_command.py @@ -114,7 +114,7 @@ def run(self): rv = int(str(ex)) except Exception as ex: rv = -1 - logger.error("exception: {}".format(ex)) + logger.error("exception: {}".format(ex), exc_info=True) finish = time.time() duration = finish - start