From 1d0e17be217390053c16129e61e658e9d600cf79 Mon Sep 17 00:00:00 2001 From: Jonathan Moody <103143855+moodyjon@users.noreply.github.com> Date: Fri, 17 Jun 2022 13:35:40 -0400 Subject: [PATCH] Another place generalized to Exception or asyncio.CancelledError. --- lbry/wallet/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbry/wallet/network.py b/lbry/wallet/network.py index 18804608f..bd7a3fdbd 100644 --- a/lbry/wallet/network.py +++ b/lbry/wallet/network.py @@ -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")