aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-13 18:17:05 +0100
committerChocobozzz <me@florianbigard.com>2018-02-14 16:03:09 +0100
commitac81d1a06d57b9ae86663831e7f5edcef57b0fa4 (patch)
treeda31775c9533d3e270f68f921e146f086bf7c0b8 /server.ts
parente883399fa6caa56bb8519c9a2e22d88001f26661 (diff)
downloadPeerTube-ac81d1a06d57b9ae86663831e7f5edcef57b0fa4.tar.gz
PeerTube-ac81d1a06d57b9ae86663831e7f5edcef57b0fa4.tar.zst
PeerTube-ac81d1a06d57b9ae86663831e7f5edcef57b0fa4.zip
Add ability to set video thumbnail/preview
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.ts b/server.ts
index dc7a71d60..529194a5e 100644
--- a/server.ts
+++ b/server.ts
@@ -158,7 +158,7 @@ app.use(function (req, res, next) {
158}) 158})
159 159
160app.use(function (err, req, res, next) { 160app.use(function (err, req, res, next) {
161 logger.error(err, err) 161 logger.error('Error in controller.', { error: err.stack || err.message || err })
162 res.sendStatus(err.status || 500) 162 res.sendStatus(err.status || 500)
163}) 163})
164 164