Fix unknown infohash skip log

pull/5097/head
Chocobozzz 2022-07-06 16:19:08 +02:00
parent f75692700e
commit 17d85f48b5
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -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 })