chore: update manual_discovery.py

occured -> occurred
This commit is contained in:
Ikko Eltociear Ashimine
2025-01-24 00:18:42 +09:00
committed by GitHub
parent a635b23044
commit 4fb01f516d
+1 -1
View File
@@ -62,7 +62,7 @@ class ManualDiscovery(Discovery):
elif DEBUG_DISCOVERY >= 2:
print(f"{peer_id=} at {peer_config.address}:{peer_config.port} is not healthy. Removing.")
except Exception as e:
if DEBUG_DISCOVERY >= 2: print(f"Exception occured when attempting to add {peer_id=}: {e}")
if DEBUG_DISCOVERY >= 2: print(f"Exception occurred when attempting to add {peer_id=}: {e}")
await asyncio.sleep(5.0)
if DEBUG_DISCOVERY >= 2: print(f"Current known peers: {[peer.id() for peer in self.known_peers.values()]}")