moved log to main file

This commit is contained in:
Miodec 2022-01-07 17:24:49 +01:00
parent ba03f819fc
commit 0282c0ef80

View file

@ -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;