uncaught exception

This commit is contained in:
Jack Robison 2019-12-27 22:57:26 -05:00
parent 87c6e292f1
commit d3e7f789b2
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -224,7 +224,7 @@ class PingQueue:
self._protocol.add_peer(peer) self._protocol.add_peer(peer)
return return
await self._protocol.get_rpc_peer(peer).ping() await self._protocol.get_rpc_peer(peer).ping()
except asyncio.TimeoutError: except (asyncio.TimeoutError, RemoteException):
pass pass
task = self._loop.create_task(ping_task()) task = self._loop.create_task(ping_task())