mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-17 11:38:32 +02:00
reduce the debug output slightly
This commit is contained in:
parent
4e4125155c
commit
13b1046a05
2 changed files with 3 additions and 1 deletions
|
@ -68,8 +68,9 @@ def cli(manual_args=None):
|
|||
|
||||
if debug:
|
||||
from rich.console import Console
|
||||
|
||||
traceback.print_tb(sys.exc_info()[2])
|
||||
Console(stderr=True).print_exception()
|
||||
Console(stderr=True).print_exception(extra_lines=1)
|
||||
|
||||
print_msg(
|
||||
Message(
|
||||
|
|
|
@ -114,6 +114,7 @@ class MsgText(Enum):
|
|||
"""
|
||||
YesOrNoPromptDefaultYes = "[Y/n]"
|
||||
YesOrNoPromptDefaultNo = "[y/N]"
|
||||
ContinueUpgrade = "Continue upgrading jrnl?"
|
||||
|
||||
# these should be lowercase, if possible in language
|
||||
# "lowercase" means whatever `.lower()` returns
|
||||
|
|
Loading…
Add table
Reference in a new issue