mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-10 21:53:13 +08:00
better messages about the anticheat module
This commit is contained in:
parent
8ba3f40460
commit
2603866f42
1 changed files with 5 additions and 1 deletions
|
@ -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