From: Sergey Matveev Date: Sun, 17 Jan 2021 16:40:04 +0000 (+0300) Subject: Remove harming errors logging X-Git-Tag: v5.6.0^2~3 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a949e7f27474474fc8a11c672270192ab8ba8a7c;p=nncp.git Remove harming errors logging That errors actually won't be the real ones, if various No* flags are set for skipping some kinds of packets. --- diff --git a/src/toss.go b/src/toss.go index 8e8dc27..682c461 100644 --- a/src/toss.go +++ b/src/toss.go @@ -100,11 +100,9 @@ func (ctx *Ctx) Toss( ) job.Fd.Close() // #nosec G104 if err != nil { - ctx.LogE("rx", sds, err, "decryption") return pipeW.CloseWithError(err) } if err = pipeWB.Flush(); err != nil { - ctx.LogE("rx", sds, err, "decryption flush") return pipeW.CloseWithError(err) } return pipeW.Close()