mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Logging ip requesting unknown infoHash
This commit is contained in:
committed by
Chocobozzz
parent
fd261a8de9
commit
212e17a189
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user