2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-21 16:39:32 +00:00

Swallow async timeout in check_fish

This commit is contained in:
Jarrod Johnson
2026-09-18 09:22:37 -04:00
parent bc6b3b5b4c
commit 79ddd17826
@@ -538,7 +538,7 @@ async def check_fish(urldata, port=443, verifycallback=None):
try:
wc = webclient.WebConnection(_get_svrip(data), port, verifycallback=verifycallback, timeout=3)
peerinfo = await wc.grab_json_response(url, headers={'Accept': 'application/json', 'Host': 'credible-bmc'})
except socket.error:
except (socket.error, asyncio.exceptions.TimeoutError):
return None
if url == '/DeviceDescription.json':
if not peerinfo: