Skip to content

Commit

Permalink
proxy: fix logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ainar-g committed Dec 29, 2021
1 parent a5b56fa commit 42f92b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/server_tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (p *Proxy) tcpPacketLoop(l net.Listener, proto Proto, requestGoroutinesSema

if err != nil {
if errors.Is(err, net.ErrClosed) {
log.Debug("tcpPacketLoop: connection closed: %w", err)
log.Debug("tcpPacketLoop: connection closed: %s", err)
} else {
log.Info("got error when reading from TCP listen: %s", err)
}
Expand Down

0 comments on commit 42f92b4

Please sign in to comment.