bug: handle unhandled error in pings.

This commit is contained in:
Upstream Data
2023-11-24 23:28:16 -07:00
parent 690d0d99df
commit 93d09a1483

View File

@@ -188,6 +188,8 @@ async def ping_and_get_miner(
except asyncio.exceptions.TimeoutError:
# ping failed if we time out
continue
except OSError:
continue
except Exception as e:
logging.warning(f"{str(ip)}: Unhandled ping exception: {e}")
return