mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-09 17:06:15 +00:00
Features: Improved handling of navigation errors and automatic updates, optimized wait times, and cron job configuration
This commit is contained in:
@@ -400,8 +400,8 @@ async function main() {
|
||||
code = await updateDocker()
|
||||
}
|
||||
|
||||
// CRITICAL: Always exit with code so external schedulers can react correctly
|
||||
// Otherwise the process hangs indefinitely and gets killed by watchdog
|
||||
// Return exit code to parent process
|
||||
// This allows the bot to know if update succeeded (0) or failed (non-zero)
|
||||
process.exit(code)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user