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 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