diff --git a/src/controllers/errors.js b/src/controllers/errors.js index 2ea7e472cb..1f8a401e2e 100644 --- a/src/controllers/errors.js +++ b/src/controllers/errors.js @@ -88,6 +88,7 @@ exports.handleErrors = async function handleErrors(err, req, res, next) { // esl await defaultHandler(); } } catch (_err) { + winston.error(`${req.originalUrl}\n${_err.stack}`); res.status(500).send(_err.message); } };