mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-12 09:37:29 +08:00
logging more fields
This commit is contained in:
parent
80e7932101
commit
02d4fa050f
1 changed files with 2 additions and 0 deletions
|
@ -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.");
|
||||
|
|
Loading…
Add table
Reference in a new issue