aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-02 17:48:50 +0200
committerChocobozzz <me@florianbigard.com>2018-08-06 11:19:16 +0200
commited31c059851a30bd5ba9999f8ecb3822d576b9f4 (patch)
tree7923ef7891ae9fd26965c3004bd75e736f0fedd0 /server.ts
parent299474e8279675adb6c5ce140e7e39c6f3439453 (diff)
downloadPeerTube-ed31c059851a30bd5ba9999f8ecb3822d576b9f4.tar.gz
PeerTube-ed31c059851a30bd5ba9999f8ecb3822d576b9f4.tar.zst
PeerTube-ed31c059851a30bd5ba9999f8ecb3822d576b9f4.zip
Add ability to list video imports
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 9aaa64dbf..9094ac943 100644
--- a/server.ts
+++ b/server.ts
@@ -152,7 +152,7 @@ app.use(function (err, req, res, next) {
152 error = err.stack || err.message || err 152 error = err.stack || err.message || err
153 } 153 }
154 154
155 logger.error('Error in controller.', { error }) 155 logger.error('Error in controller.', { err: error })
156 return res.status(err.status || 500).end() 156 return res.status(err.status || 500).end()
157}) 157})
158 158