aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
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 f64c4ac53..05fc39acb 100644
--- a/server.ts
+++ b/server.ts
@@ -151,7 +151,7 @@ app.use(function (req, res, next) {
151}) 151})
152 152
153app.use(function (err, req, res, next) { 153app.use(function (err, req, res, next) {
154 logger.error(err) 154 logger.error(err, err)
155 res.sendStatus(err.status || 500) 155 res.sendStatus(err.status || 500)
156}) 156})
157 157