mirror of https://github.com/Chocobozzz/PeerTube
Logging ip requesting unknown infoHash
parent
fd261a8de9
commit
212e17a189
|
@ -53,7 +53,7 @@ const trackerServer = new TrackerServer({
|
||||||
const playlistExists = await VideoStreamingPlaylistModel.doesInfohashExist(infoHash)
|
const playlistExists = await VideoStreamingPlaylistModel.doesInfohashExist(infoHash)
|
||||||
if (playlistExists === true) return cb()
|
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) {
|
} catch (err) {
|
||||||
logger.error('Error in tracker filter.', { err })
|
logger.error('Error in tracker filter.', { err })
|
||||||
return cb(err)
|
return cb(err)
|
||||||
|
|
Loading…
Reference in New Issue