mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-05-12 02:19:55 +08:00
adjust ui text
This commit is contained in:
@@ -41,7 +41,7 @@ function runWithDaemon () {
|
||||
process.exit(exitCode)
|
||||
return
|
||||
}
|
||||
console.log(`[Run core daemon] Child process exit with code ${exitCode}, an internal may not be caught, and will be restarted in ${rerunInterval}ms.`)
|
||||
console.log(`[Run core daemon] Child process exit with code ${exitCode}, an internal error may not be caught, and will be restarted in ${rerunInterval}ms.`)
|
||||
await sleep(rerunInterval)
|
||||
runWithDaemon()
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ const main = async () => {
|
||||
}
|
||||
closeBrowserWindow?.()
|
||||
console.error(err)
|
||||
console.log(`[Run core main] An internal is caught, and browser will be restarted in ${rerunInterval}ms.`)
|
||||
console.log(`[Run core main] An internal error is caught, and browser will be restarted in ${rerunInterval}ms.`)
|
||||
await sleep(rerunInterval)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ function runWithDaemon() {
|
||||
return
|
||||
}
|
||||
console.log(
|
||||
`[Run core daemon] Child process exit with code ${exitCode}, an internal may not be caught, and will be restarted in ${rerunInterval}ms.`
|
||||
`[Run core daemon] Child process exit with code ${exitCode}, an internal error may not be caught, and will be restarted in ${rerunInterval}ms.`
|
||||
)
|
||||
await sleep(rerunInterval)
|
||||
runWithDaemon()
|
||||
|
||||
@@ -124,7 +124,7 @@ export const runAutoChat = async () => {
|
||||
closeBrowserWindow?.()
|
||||
console.error(err)
|
||||
console.log(
|
||||
`[Run core main] An internal is caught, and browser will be restarted in ${rerunInterval}ms.`
|
||||
`[Run core main] An internal error is caught, and browser will be restarted in ${rerunInterval}ms.`
|
||||
)
|
||||
await sleep(rerunInterval)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user