aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-07-07 18:26:12 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-07-07 18:26:12 +0200
commitad0997adfb9e1e3b1ff54338d7558cf7b18440ea (patch)
tree78ef53699d260e194bbcda7eccb645a14070679a /server/models/video/video.ts
parent709756b8e183f67ef9bf8f7bc149af4736260350 (diff)
downloadPeerTube-ad0997adfb9e1e3b1ff54338d7558cf7b18440ea.tar.gz
PeerTube-ad0997adfb9e1e3b1ff54338d7558cf7b18440ea.tar.zst
PeerTube-ad0997adfb9e1e3b1ff54338d7558cf7b18440ea.zip
Fix error logging
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r--server/models/video/video.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index 3d71e8d9e..47d3cad1d 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -553,7 +553,7 @@ transcodeVideofile = function (this: VideoInstance) {
553 .catch(err => { 553 .catch(err => {
554 // Autodesctruction... 554 // Autodesctruction...
555 video.destroy().asCallback(function (err) { 555 video.destroy().asCallback(function (err) {
556 if (err) logger.error('Cannot destruct video after transcoding failure.', { error: err }) 556 if (err) logger.error('Cannot destruct video after transcoding failure.', err)
557 }) 557 })
558 558
559 return rej(err) 559 return rej(err)