diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-06 16:19:08 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-06 16:19:08 +0200 |
commit | 17d85f48b51ef7dad747f7471c8237320e40e2a4 (patch) | |
tree | 2e47e306606473e9bed74b5b66399b34aea02630 /server/controllers | |
parent | f75692700e212f8d46afd9f41147f2baf0815fec (diff) | |
download | PeerTube-17d85f48b51ef7dad747f7471c8237320e40e2a4.tar.gz PeerTube-17d85f48b51ef7dad747f7471c8237320e40e2a4.tar.zst PeerTube-17d85f48b51ef7dad747f7471c8237320e40e2a4.zip |
Fix unknown infohash skip log
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/tracker.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/tracker.ts b/server/controllers/tracker.ts index 914d52b72..23bcb971e 100644 --- a/server/controllers/tracker.ts +++ b/server/controllers/tracker.ts | |||
@@ -76,7 +76,7 @@ if (CONFIG.TRACKER.ENABLED !== false) { | |||
76 | trackerServer.on('warning', function (err) { | 76 | trackerServer.on('warning', function (err) { |
77 | if (CONFIG.LOG.LOG_TRACKER_UNKNOWN_INFOHASH) { | 77 | if (CONFIG.LOG.LOG_TRACKER_UNKNOWN_INFOHASH) { |
78 | const message = err.message || '' | 78 | const message = err.message || '' |
79 | if (message.includes('Uknown infoHash')) return | 79 | if (message.includes('Unknown infoHash')) return |
80 | } | 80 | } |
81 | 81 | ||
82 | logger.warn('Warning in tracker.', { err }) | 82 | logger.warn('Warning in tracker.', { err }) |