1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 03:24:20 +00:00

🐛 Fix traceback formatting

This commit is contained in:
Steffo 2021-04-19 04:13:37 +02:00
parent 895ee25443
commit 77c1da6c77
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -244,7 +244,7 @@ class ConversationListImplementation(PDAImplementation, metaclass=abc.ABCMeta):
msg = [ msg = [
f"Unhandled {etype.__qualname__} in {conv!r} running in {dispenser!r}: {exception!r}", f"Unhandled {etype.__qualname__} in {conv!r} running in {dispenser!r}: {exception!r}",
traceback.format_exc(etb) traceback.format_tb(etb),
] ]
self.log.error("\n".join(msg)) self.log.error("\n".join(msg))