fix: restart Windows gateway via Scheduled Task (#38825) (#38825)

This commit is contained in:
Ayaan Zaidi
2026-03-07 18:00:38 +05:30
committed by GitHub
parent 26c9796736
commit 05c240fad6
12 changed files with 371 additions and 54 deletions

View File

@@ -75,7 +75,9 @@ export async function runGatewayLoop(params: {
`full process restart failed (${respawn.detail ?? "unknown error"}); falling back to in-process restart`,
);
} else {
gatewayLog.info("restart mode: in-process restart (OPENCLAW_NO_RESPAWN)");
gatewayLog.info(
`restart mode: in-process restart (${respawn.detail ?? "OPENCLAW_NO_RESPAWN"})`,
);
}
if (hadLock && !(await reacquireLockForInProcessRestart())) {
return;