Browse Source

Merge pull request #625 from eltociear/patch-1

chore: update manual_discovery.py
Alex Cheema 5 months ago
parent
commit
aa1ce21f82
1 changed files with 1 additions and 1 deletions
  1. 1 1
      exo/networking/manual/manual_discovery.py

+ 1 - 1
exo/networking/manual/manual_discovery.py

@@ -62,7 +62,7 @@ class ManualDiscovery(Discovery):
           elif DEBUG_DISCOVERY >= 2:
           elif DEBUG_DISCOVERY >= 2:
             print(f"{peer_id=} at {peer_config.address}:{peer_config.port} is not healthy. Removing.")
             print(f"{peer_id=} at {peer_config.address}:{peer_config.port} is not healthy. Removing.")
         except Exception as e:
         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)
       await asyncio.sleep(5.0)
 
 
       if DEBUG_DISCOVERY >= 2: print(f"Current known peers: {[peer.id() for peer in self.known_peers.values()]}")
       if DEBUG_DISCOVERY >= 2: print(f"Current known peers: {[peer.id() for peer in self.known_peers.values()]}")