Skip to content

Commit

Permalink
log both backtraces: from and to here
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Aug 17, 2024
1 parent 666f4a1 commit 80a3ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/gtk/error.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def __enter__(self):

def __exit__(self, e_typ, e_val, trcbak):
if e_typ:
log.error("Error: %s, %s", e_typ, e_val, exc_info=trcbak)
log.error("Error: %s, %s", e_typ, e_val, exc_info=True)
log.error(" X11 log context", backtrace=True)
trap.safe_x_exit()
# don't raise exceptions:
Expand Down

0 comments on commit 80a3ba3

Please sign in to comment.