Fix log in after destroy hook
authorChocobozzz <florian.bigard@gmail.com>
Thu, 26 Oct 2017 10:06:57 +0000 (12:06 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Thu, 26 Oct 2017 10:06:57 +0000 (12:06 +0200)
server/models/video/video.ts

index 01a801da30cd4f6f726d92ea93f9980b91a7b5d7..ec14939c2618f14a6dfed8d2a00867f476f07de7 100644 (file)
@@ -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)
     })
 }