mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-17 02:56:16 +08:00
moved log to main file
This commit is contained in:
parent
ba03f819fc
commit
0282c0ef80
1 changed files with 0 additions and 1 deletions
|
@ -16,7 +16,6 @@ class MonkeyError {
|
|||
|
||||
if (process.env.MODE === "dev") {
|
||||
this.message = stack ? String(stack) : String(message);
|
||||
console.error(this.message);
|
||||
} else {
|
||||
if (this.stack && this.status >= 500) {
|
||||
this.message = "Internal Server Error " + this.errorID;
|
||||
|
|
Loading…
Add table
Reference in a new issue