Skip to content

Commit 149cb6a

Browse files
committed
fix: connection closed
1 parent 7ec5e49 commit 149cb6a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

packages/css/.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/opencode/src/lsp/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ export namespace LSP {
166166
const wait = waitForDiagnostics ? client.waitForDiagnostics({ path: input }) : Promise.resolve()
167167
await client.notify.open({ path: input })
168168
return wait
169+
}).catch((err) => {
170+
log.error("failed to touch file", { err, file: input })
169171
})
170172
}
171173

0 commit comments

Comments
 (0)