From 17d85f48b51ef7dad747f7471c8237320e40e2a4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 6 Jul 2022 16:19:08 +0200 Subject: Fix unknown infohash skip log --- server/controllers/tracker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/controllers') 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) { trackerServer.on('warning', function (err) { if (CONFIG.LOG.LOG_TRACKER_UNKNOWN_INFOHASH) { const message = err.message || '' - if (message.includes('Uknown infoHash')) return + if (message.includes('Unknown infoHash')) return } logger.warn('Warning in tracker.', { err }) -- cgit v1.2.3