Fix log in after destroy hook
This commit is contained in:
parent
b869d19068
commit
6cd44728bb
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue