mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-17 19:48:31 +02:00
update debug output after uncaught exception
This commit is contained in:
parent
a1758d5e9a
commit
d58cb31241
1 changed files with 2 additions and 1 deletions
|
@ -67,8 +67,9 @@ def cli(manual_args=None):
|
|||
debug = True
|
||||
|
||||
if debug:
|
||||
print("\n")
|
||||
from rich.console import Console
|
||||
traceback.print_tb(sys.exc_info()[2])
|
||||
Console(stderr=True).print_exception()
|
||||
|
||||
print_msg(
|
||||
Message(
|
||||
|
|
Loading…
Add table
Reference in a new issue