diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-02 17:48:50 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-06 11:19:16 +0200 |
commit | ed31c059851a30bd5ba9999f8ecb3822d576b9f4 (patch) | |
tree | 7923ef7891ae9fd26965c3004bd75e736f0fedd0 /server.ts | |
parent | 299474e8279675adb6c5ce140e7e39c6f3439453 (diff) | |
download | PeerTube-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.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||