Skip to content

Commit

Permalink
CARL PeerMessagingBroker -> Fix error message when peer is already co…
Browse files Browse the repository at this point in the history
…nnected.

This message shows up in the logs of EDGAR, so needs to be formulated neutrally.
  • Loading branch information
mbfm committed Sep 2, 2024
1 parent 4ea1af6 commit 1fe8b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opendut-carl/src/peer/broker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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."
)]
Expand Down

0 comments on commit 1fe8b22

Please sign in to comment.