1
0
Fork 0

Fix unknown infohash skip log

This commit is contained in:
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

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