Print exception stack traces in cli log viewer

This commit is contained in:
Tulir Asokan 2018-12-14 00:40:35 +02:00
parent 6f06eec3cc
commit 160dd6c534

View File

@ -75,6 +75,8 @@ def print_entry(entry: dict) -> None:
resetcolor=Fore.RESET,
logger=entry.name,
message=entry.msg))
if entry.exc_info:
print(entry.exc_info)
def handle_msg(data: dict) -> bool: