diff --git a/backend/api/controllers/result.js b/backend/api/controllers/result.js index 0a3a90b08..06d88d41c 100644 --- a/backend/api/controllers/result.js +++ b/backend/api/controllers/result.js @@ -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); } }