forked from LBRYCommunity/lbry-sdk
Another place generalized to Exception or asyncio.CancelledError.
This commit is contained in:
parent
4ef03bb1f4
commit
1d0e17be21
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ class Network:
|
||||||
def loop_task_done_callback(f):
|
def loop_task_done_callback(f):
|
||||||
try:
|
try:
|
||||||
f.result()
|
f.result()
|
||||||
except Exception:
|
except (Exception, asyncio.CancelledError):
|
||||||
if self.running:
|
if self.running:
|
||||||
log.exception("wallet server connection loop crashed")
|
log.exception("wallet server connection loop crashed")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue