diff options
Diffstat (limited to 'extension')
-rw-r--r-- | extension/src/activation/environmentSetup.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts index 32dfa52f..d41cb289 100644 --- a/extension/src/activation/environmentSetup.ts +++ b/extension/src/activation/environmentSetup.ts @@ -237,9 +237,11 @@ export async function startContinuePythonServer() { }); child.on("error", (err: any) => { - if (err.code === "EBUSY" && attempts < maxAttempts) { + if (attempts < maxAttempts) { attempts++; - console.log(`EBUSY error caught. Retrying attempt ${attempts}...`); + console.log( + `Error caught (likely EBUSY). Retrying attempt ${attempts}...` + ); setTimeout(spawnChild, delay); } else { console.error("Failed to start subprocess.", err); |