forked from LBRYCommunity/lbry-sdk
Another place generalized to Exception or asyncio.CancelledError.
This commit is contained in:
parent
de4872c32d
commit
44ebfdffa5
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