aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/tracker.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-06 16:19:08 +0200
committerChocobozzz <me@florianbigard.com>2022-07-06 16:19:08 +0200
commit17d85f48b51ef7dad747f7471c8237320e40e2a4 (patch)
tree2e47e306606473e9bed74b5b66399b34aea02630 /server/controllers/tracker.ts
parentf75692700e212f8d46afd9f41147f2baf0815fec (diff)
downloadPeerTube-17d85f48b51ef7dad747f7471c8237320e40e2a4.tar.gz
PeerTube-17d85f48b51ef7dad747f7471c8237320e40e2a4.tar.zst
PeerTube-17d85f48b51ef7dad747f7471c8237320e40e2a4.zip
Fix unknown infohash skip log
Diffstat (limited to 'server/controllers/tracker.ts')
-rw-r--r--server/controllers/tracker.ts2
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 })