From a5ebd0c5ffcaac2c15b6015a071458072d16a730 Mon Sep 17 00:00:00 2001 From: Alex Sharov Date: Fri, 17 Mar 2023 10:53:30 +0700 Subject: [PATCH] torrent: suppress some warning (#941) --- downloader/downloadercfg/logger.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/downloader/downloadercfg/logger.go b/downloader/downloadercfg/logger.go index 0e21da943..59bff4811 100644 --- a/downloader/downloadercfg/logger.go +++ b/downloader/downloadercfg/logger.go @@ -94,6 +94,9 @@ func (b adapterHandler) Handle(r lg.Record) { if strings.Contains(str, "reservation cancelled") { // suppress useless errors break } + if strings.Contains(str, "received invalid reject") { // suppress useless errors + break + } log.Warn(str) case lg.Error: