From: Chocobozzz Date: Sat, 1 Oct 2016 14:10:18 +0000 (+0200) Subject: Server: add informations when removing requests of unexisting pod X-Git-Tag: v0.0.1-alpha~703 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d6cf31b7e03ad7d8f9e0408f70a88dae3a276d1e;p=oweals%2Fpeertube.git Server: add informations when removing requests of unexisting pod --- diff --git a/server/models/request.js b/server/models/request.js index 2d50d94e0..2d1c5af15 100644 --- a/server/models/request.js +++ b/server/models/request.js @@ -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() }