Ignore broken pipes when streaming blocks in the gossip client
This commit is contained in:
parent
50f0cfa6f4
commit
7b7d6a03d3
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user