Skip to content

Commit

Permalink
Tweak the local logging behavior to use the exception explicitly prov…
Browse files Browse the repository at this point in the history
…ided
  • Loading branch information
tomrittervg committed Sep 6, 2024
1 parent 1184cbe commit 57f296d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 57f296d

Please sign in to comment.