mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-08-21 16:33:23 +08:00
kill browser when internal exception is caught in core auto chat flow
This commit is contained in:
@@ -68,6 +68,7 @@ const main = async () => {
|
||||
break
|
||||
}
|
||||
}
|
||||
closeBrowserWindow?.()
|
||||
console.error(err)
|
||||
console.log(`[Run core main] An internal is caught, and browser will be restarted in ${rerunInterval}ms.`)
|
||||
await sleep(rerunInterval)
|
||||
|
||||
Reference in New Issue
Block a user