chore: show which callback threw an exc
This commit is contained in:
parent
425a7c7f71
commit
2ad89a61d2
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class CallbacksHolder:
|
||||||
try:
|
try:
|
||||||
return await cb(*args)
|
return await cb(*args)
|
||||||
except Exception:
|
except Exception:
|
||||||
logging.exception("Exception processing callback")
|
logging.exception("Exception processing callback '%s'", cb.__name__)
|
||||||
return None
|
return None
|
||||||
finally:
|
finally:
|
||||||
self._tasks.pop(uid)
|
self._tasks.pop(uid)
|
||||||
|
|
Loading…
Reference in a new issue