diff options
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -151,7 +151,7 @@ app.use(function (req, res, next) { | |||
151 | }) | 151 | }) |
152 | 152 | ||
153 | app.use(function (err, req, res, next) { | 153 | app.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 | ||