mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 23:36:37 +08:00
better messages about the anticheat module
This commit is contained in:
parent
8ba3f40460
commit
2603866f42
|
@ -23,7 +23,11 @@ try {
|
|||
"No anticheat module found. Continuing in dev mode, results will not be validated."
|
||||
);
|
||||
} else {
|
||||
throw new Error("No anticheat module found");
|
||||
console.error("No anticheat module found.");
|
||||
console.error(
|
||||
"To continue in dev mode, add 'MODE=dev' to the .env file in the backend directory."
|
||||
);
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue