From: Chocobozzz Date: Thu, 26 Oct 2017 10:06:57 +0000 (+0200) Subject: Fix log in after destroy hook X-Git-Tag: v0.0.1-alpha~263 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=6cd44728bb49778d6697a0277773ae4fca478a26;p=github%2FChocobozzz%2FPeerTube.git Fix log in after destroy hook --- diff --git a/server/models/video/video.ts b/server/models/video/video.ts index 01a801da3..ec14939c2 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts @@ -343,7 +343,7 @@ function afterDestroy (video: VideoInstance, options: { transaction: Sequelize.T return Promise.all(tasks) .catch(err => { - logger.error('Some errors when removing files of video %d in after destroy hook.', video.uuid, err) + logger.error('Some errors when removing files of video %s in after destroy hook.', video.uuid, err) }) }