diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-26 12:06:57 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-26 12:06:57 +0200 |
commit | 6cd44728bb49778d6697a0277773ae4fca478a26 (patch) | |
tree | 964a15cf5e342de223591e55f47ba97875bdbf56 /server | |
parent | b869d19068f42eb2b7bc33e1e2bff10bd07f3fda (diff) | |
download | PeerTube-6cd44728bb49778d6697a0277773ae4fca478a26.tar.gz PeerTube-6cd44728bb49778d6697a0277773ae4fca478a26.tar.zst PeerTube-6cd44728bb49778d6697a0277773ae4fca478a26.zip |
Fix log in after destroy hook
Diffstat (limited to 'server')
-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 | ||