mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-02-02 05:29:12 +08:00
inserting stack into the.. stack
This commit is contained in:
parent
5ffd053d0a
commit
2c510eb7a9
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ class MonkeyError {
|
|||
constructor(status, message, stack = null, uid) {
|
||||
this.status = status ?? 500;
|
||||
this.errorID = uuid.v4();
|
||||
|
||||
this.stack = stack;
|
||||
this.message =
|
||||
process.env.MODE === "dev"
|
||||
? stack
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue