mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-21 08:31:52 +03:00
make web socket timeout a warning with a traceback (#12824)
This commit is contained in:
parent
3bcfb21f74
commit
5f1e483511
@ -262,9 +262,7 @@ class WSChiaConnection:
|
||||
await self._send_message(msg)
|
||||
except asyncio.CancelledError:
|
||||
pass
|
||||
except BrokenPipeError as e:
|
||||
self.log.warning(f"{e} {self.peer_host}")
|
||||
except ConnectionResetError as e:
|
||||
except (BrokenPipeError, ConnectionResetError, TimeoutError) as e:
|
||||
self.log.warning(f"{e} {self.peer_host}")
|
||||
except Exception as e:
|
||||
error_stack = traceback.format_exc()
|
||||
|
Loading…
Reference in New Issue
Block a user