diff --git a/pyasic/network/__init__.py b/pyasic/network/__init__.py index 4cbe4747..d29ae8b9 100644 --- a/pyasic/network/__init__.py +++ b/pyasic/network/__init__.py @@ -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