mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-11 06:05:16 +08:00
added message to stack
This commit is contained in:
parent
f1c60b93c1
commit
5c04dff242
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ class MonkeyError {
|
|||
: String(message);
|
||||
} else {
|
||||
if (this.stack && this.status >= 500) {
|
||||
this.stack = this.message + "\n" + this.stack;
|
||||
this.message = "Internal Server Error " + this.errorID;
|
||||
} else {
|
||||
this.message = String(message);
|
||||
|
|
Loading…
Reference in a new issue