Skip to content

Commit

Permalink
Logging ip requesting unknown infoHash
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnXLivingston authored and Chocobozzz committed Jun 15, 2020
1 parent fd261a8 commit 212e17a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/controllers/tracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 212e17a

Please sign in to comment.