diff --git a/src/gossip/client/streamblocks.py b/src/gossip/client/streamblocks.py index 192f7280..1e2b0170 100644 --- a/src/gossip/client/streamblocks.py +++ b/src/gossip/client/streamblocks.py @@ -100,7 +100,8 @@ def stream_from_peers(): raise # Tell them to keep streaming sock.sendall(int(1).to_bytes(1, 'big')) - + except BrokenPipeError: + pass except Exception: logger.warn(traceback.format_exc(), terminal=True) finally: