disconnect on unhandled exception in dispatcher
This commit is contained in:
parent
730965e22c
commit
b5c3bfeb6c
1 changed files with 1 additions and 0 deletions
|
@ -237,6 +237,7 @@ class Dispatcher:
|
|||
await self.disconnect(block=False)
|
||||
except Exception:
|
||||
self._logger.exception("Exception parsing packet %d | %s", packet_id, buffer.getvalue())
|
||||
await self.disconnect(block=False)
|
||||
|
||||
async def _up_worker(self, timeout=1):
|
||||
while self._dispatching:
|
||||
|
|
Loading…
Reference in a new issue