1
0
Fork 0

Fix log in after destroy hook

This commit is contained in:
Chocobozzz 2017-10-26 12:06:57 +02:00
parent b869d19068
commit 6cd44728bb
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -343,7 +343,7 @@ function afterDestroy (video: VideoInstance, options: { transaction: Sequelize.T
return Promise.all(tasks) return Promise.all(tasks)
.catch(err => { .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)
}) })
} }