From 212e17a1892162a69138c0b9c0a1bd88f95209a8 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Fri, 12 Jun 2020 11:04:52 +0200 Subject: [PATCH] Logging ip requesting unknown infoHash --- server/controllers/tracker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/controllers/tracker.ts b/server/controllers/tracker.ts index 4f756fc0a..cacff36ec 100644 --- a/server/controllers/tracker.ts +++ b/server/controllers/tracker.ts @@ -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)