mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-13 20:27:08 +08:00
Ignore more network related errors during websocket communication.
Intermittent network issues during websocket communication should not crash ComfyUi process.
This commit is contained in:
parent
7390ff3b1e
commit
3b8d2385b7
@ -40,7 +40,7 @@ class BinaryEventTypes:
|
||||
async def send_socket_catch_exception(function, message):
|
||||
try:
|
||||
await function(message)
|
||||
except (aiohttp.ClientError, aiohttp.ClientPayloadError, ConnectionResetError) as err:
|
||||
except (aiohttp.ClientError, aiohttp.ClientPayloadError, ConnectionResetError, BrokenPipeError, ConnectionError) as err:
|
||||
logging.warning("send error: {}".format(err))
|
||||
|
||||
def get_comfyui_version():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user