ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix unknown infohash skip log
Chocobozzz17d85f48b51e
diff --git a/server/controllers/tracker.ts b/server/controllers/tracker.tsindex 914d52b726..23bcb971ed 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 })