chore: show which callback threw an exc

This commit is contained in:
əlemi 2022-07-03 19:10:36 +02:00
parent 425a7c7f71
commit 2ad89a61d2
No known key found for this signature in database
GPG key ID: BBCBFE5D7244634E

View file

@ -36,7 +36,7 @@ class CallbacksHolder:
try:
return await cb(*args)
except Exception:
logging.exception("Exception processing callback")
logging.exception("Exception processing callback '%s'", cb.__name__)
return None
finally:
self._tasks.pop(uid)