diff --git a/libp2p/network/swarm.py b/libp2p/network/swarm.py index eb7e306..c861877 100644 --- a/libp2p/network/swarm.py +++ b/libp2p/network/swarm.py @@ -112,7 +112,7 @@ class Swarm(INetwork): # Tried all addresses, raising exception. raise SwarmException( f"unable to connect to {peer_id}, no addresses established a successful connection " - "(with exceptions)", + "(with exceptions)" ) from MultiError(exceptions) async def dial_addr(self, addr: Multiaddr, peer_id: ID) -> INetConn: