logging more fields

This commit is contained in:
Miodec 2023-04-24 12:54:54 +02:00
parent 80e7932101
commit 02d4fa050f

View file

@ -54,6 +54,8 @@ async function errorHandlingMiddleware(
message: error.message,
stack: error.stack,
endpoint: req.originalUrl,
method: req.method,
url: req.url,
});
} catch (e) {
Logger.error("Logging to db failed.");