Reduce stream failure log to DEBUG to avoid tor spam (#5483)

This commit is contained in:
Chris Stewart 2024-03-19 11:30:34 -05:00 committed by GitHub
parent 177542a13c
commit 3cfe700fad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -273,7 +273,7 @@ case class PeerConnection(peer: Peer, queue: SourceQueue[NodeStreamMessage])(
case scala.util.Success(_) =>
handleStreamComplete()
case scala.util.Failure(err) =>
logger.info(
logger.debug(
s"Connection with peer=$peer failed with err=${err.getMessage}")
handleStreamComplete()
}