From 1fe8b2241feebd3367d3a22c19553c30d7f99858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20M=C3=A4rkle?= Date: Mon, 2 Sep 2024 12:56:01 +0200 Subject: [PATCH] CARL PeerMessagingBroker -> Fix error message when peer is already connected. This message shows up in the logs of EDGAR, so needs to be formulated neutrally. --- opendut-carl/src/peer/broker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendut-carl/src/peer/broker.rs b/opendut-carl/src/peer/broker.rs index 52c7a1e03..1b67dbbfa 100644 --- a/opendut-carl/src/peer/broker.rs +++ b/opendut-carl/src/peer/broker.rs @@ -224,7 +224,7 @@ pub enum Error { #[derive(Debug, thiserror::Error)] pub enum OpenError { #[error( - "Peer <{peer_id}> opened stream, but we already have a connected stream with this PeerId. \ + "Peer <{peer_id}> opened stream, but CARL already has a connected stream with this PeerId. \ This likely means that someone set up a second host using the same PeerId. \ Rejecting connection." )]