diff options
author | John Livingston <git@john-livingston.fr> | 2020-06-12 11:04:52 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-15 15:43:11 +0200 |
commit | 212e17a1892162a69138c0b9c0a1bd88f95209a8 (patch) | |
tree | a88b4f71bb4f95aa83605f919c1a082cc3266ccc | |
parent | fd261a8de933779480d631891efd2ac289045f2f (diff) | |
download | PeerTube-212e17a1892162a69138c0b9c0a1bd88f95209a8.tar.gz PeerTube-212e17a1892162a69138c0b9c0a1bd88f95209a8.tar.zst PeerTube-212e17a1892162a69138c0b9c0a1bd88f95209a8.zip |
Logging ip requesting unknown infoHash
-rw-r--r-- | server/controllers/tracker.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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({ | |||
53 | const playlistExists = await VideoStreamingPlaylistModel.doesInfohashExist(infoHash) | 53 | const playlistExists = await VideoStreamingPlaylistModel.doesInfohashExist(infoHash) |
54 | if (playlistExists === true) return cb() | 54 | if (playlistExists === true) return cb() |
55 | 55 | ||
56 | return cb(new Error(`Unknown infoHash ${infoHash}`)) | 56 | return cb(new Error(`Unknown infoHash ${infoHash} requested by ip ${ip}`)) |
57 | } catch (err) { | 57 | } catch (err) { |
58 | logger.error('Error in tracker filter.', { err }) | 58 | logger.error('Error in tracker filter.', { err }) |
59 | return cb(err) | 59 | return cb(err) |