]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/request.js
Server: add informations when removing requests of unexisting pod
[github/Chocobozzz/PeerTube.git] / server / models / request.js
index 2d50d94e0c26805d2c2298c15b5a0d3132b0eedc..2d1c5af15802804aa2743970a7e0f3cd0459ad84 100644 (file)
@@ -176,6 +176,7 @@ function makeRequests () {
 
         // Maybe the pod is not our friend anymore so simply remove it
         if (!toPod) {
+          logger.info('Removing %d requests of unexisting pod %s.', requestToMake.ids.length, toPodId)
           removePodOf.call(self, requestToMake.ids, toPodId)
           return callbackEach()
         }