forked from LBRYCommunity/lbry-sdk
re-raise cancelled errors
This commit is contained in:
parent
1bc4e4b702
commit
007dd43861
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ class BlobAnnouncer:
|
|||
else:
|
||||
log.warning("failed to announce %s, could only find %d peers, retrying soon.", blob_hash[:8], peers)
|
||||
except Exception as err:
|
||||
if isinstance(err, asyncio.CancelledError):
|
||||
raise err
|
||||
log.warning("error announcing %s: %s", blob_hash[:8], str(err))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue