mirror of https://github.com/Chocobozzz/PeerTube
Fix unknown infohash skip log
parent
f75692700e
commit
17d85f48b5
|
@ -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 })
|
||||
|
|
Loading…
Reference in New Issue