Print exception stack traces in cli log viewer
This commit is contained in:
parent
6f06eec3cc
commit
160dd6c534
1 changed files with 2 additions and 0 deletions
|
@ -75,6 +75,8 @@ def print_entry(entry: dict) -> None:
|
||||||
resetcolor=Fore.RESET,
|
resetcolor=Fore.RESET,
|
||||||
logger=entry.name,
|
logger=entry.name,
|
||||||
message=entry.msg))
|
message=entry.msg))
|
||||||
|
if entry.exc_info:
|
||||||
|
print(entry.exc_info)
|
||||||
|
|
||||||
|
|
||||||
def handle_msg(data: dict) -> bool:
|
def handle_msg(data: dict) -> bool:
|
||||||
|
|
Loading…
Reference in a new issue