Print exception stack traces in cli log viewer
This commit is contained in:
parent
6f06eec3cc
commit
160dd6c534
@ -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 New Issue
Block a user