Logging ip requesting unknown infoHash

This commit is contained in:
John Livingston 2020-06-12 11:04:52 +02:00 committed by Chocobozzz
parent fd261a8de9
commit 212e17a189
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ const trackerServer = new TrackerServer({
const playlistExists = await VideoStreamingPlaylistModel.doesInfohashExist(infoHash)
if (playlistExists === true) return cb()
return cb(new Error(`Unknown infoHash ${infoHash}`))
return cb(new Error(`Unknown infoHash ${infoHash} requested by ip ${ip}`))
} catch (err) {
logger.error('Error in tracker filter.', { err })
return cb(err)