mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix unknown infohash skip log
This commit is contained in:
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
Block a user