aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJohn Livingston <git@john-livingston.fr>2020-06-12 11:04:52 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-06-15 15:43:11 +0200
commit212e17a1892162a69138c0b9c0a1bd88f95209a8 (patch)
treea88b4f71bb4f95aa83605f919c1a082cc3266ccc
parentfd261a8de933779480d631891efd2ac289045f2f (diff)
downloadPeerTube-212e17a1892162a69138c0b9c0a1bd88f95209a8.tar.gz
PeerTube-212e17a1892162a69138c0b9c0a1bd88f95209a8.tar.zst
PeerTube-212e17a1892162a69138c0b9c0a1bd88f95209a8.zip
Logging ip requesting unknown infoHash
-rw-r--r--server/controllers/tracker.ts2
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)