Another place generalized to Exception or asyncio.CancelledError.

This commit is contained in:
Jonathan Moody 2022-06-17 13:35:40 -04:00
parent de4872c32d
commit 44ebfdffa5

View file

@ -214,7 +214,7 @@ class Network:
def loop_task_done_callback(f):
try:
f.result()
except Exception:
except (Exception, asyncio.CancelledError):
if self.running:
log.exception("wallet server connection loop crashed")