mirror of
https://github.com/maubot/maubot.git
synced 2024-10-01 01:06:10 -04:00
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,
|
||||
logger=entry.name,
|
||||
message=entry.msg))
|
||||
if entry.exc_info:
|
||||
print(entry.exc_info)
|
||||
|
||||
|
||||
def handle_msg(data: dict) -> bool:
|
||||
|
Loading…
Reference in New Issue
Block a user