Deno Deploy failed:Uncaught Exception /Permission Denied : Deno.exit() is not allowed
I have a college assignments that needs to be deployed using deno deploy but i get this message when i try to deploy it, my code works fine locally.


Deno.exit()Deno.exit()MONGO_URLif-elseif (!MONGO_URL) {
console.log("No mongo url found")
} else {
await mongoose.connect(MONGO_URL);
// ...etc
}
// END OF FILEasync function bootServer() {
if (!MONGO_URL) {
console.log("No mongo url found")
return
}
await mongoose.connect(MONGO_URL);
// ...etc
}
await bootServer();
// END OF FILE