diff options
-rw-r--r-- | server/models/video/video.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
343 | 343 | ||
344 | return Promise.all(tasks) | 344 | return Promise.all(tasks) |
345 | .catch(err => { | 345 | .catch(err => { |
346 | logger.error('Some errors when removing files of video %d in after destroy hook.', video.uuid, err) | 346 | logger.error('Some errors when removing files of video %s in after destroy hook.', video.uuid, err) |
347 | }) | 347 | }) |
348 | } | 348 | } |
349 | 349 | ||