fix: connection closed

This commit is contained in:
Aiden Cline
2025-10-16 13:59:52 -05:00
parent 7ec5e49e19
commit 149cb6a9ec
2 changed files with 2 additions and 1 deletions

View File

@@ -166,6 +166,8 @@ export namespace LSP {
const wait = waitForDiagnostics ? client.waitForDiagnostics({ path: input }) : Promise.resolve()
await client.notify.open({ path: input })
return wait
}).catch((err) => {
log.error("failed to touch file", { err, file: input })
})
}