diff --git a/components/logging.py b/components/logging.py index 432b4cb..9e9a9fe 100644 --- a/components/logging.py +++ b/components/logging.py @@ -120,7 +120,7 @@ def log(self, *args, level, category): print(prefix, *args, flush=True) def log_exception(self, e): - bt = traceback.format_exc() + bt = traceback.format_exception(e) print(bt, flush=True)