mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-11 08:05:56 +08:00
logging errorid
This commit is contained in:
parent
91ea52bec6
commit
f697ec00fe
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ async function errorHandlingMiddleware(
|
|||
try {
|
||||
await Logger.logToDb(
|
||||
"system_error",
|
||||
`${monkeyResponse.status} ${error.message} ${error.stack}`,
|
||||
`${monkeyResponse.status} ${errorId} ${error.message} ${error.stack}`,
|
||||
uid
|
||||
);
|
||||
await db.collection<any>("errors").insertOne({
|
||||
|
|
Loading…
Add table
Reference in a new issue