Don't spam incompleteread errors in block diffusion

This commit is contained in:
Kevin F 2023-01-23 17:54:46 -06:00
parent 9a0a9f11b2
commit 70c7eca9c5
1 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,8 @@ async def diffuse_blocks(reader: 'StreamReader', writer: 'StreamWriter'):
break
except ConnectionResetError:
pass
except IncompleteReadError:
pass
except Exception:
logging.warn(traceback.format_exc())