You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(amazonq): handle response errors from lsp (#7161)
## Problem
Response errors returned by the LSP are returned to chat after
prepending a custom error message. We can remove this custom error
message and rely on flare for a single implementation of this error
message.
## Solution
- perform a sanity check on the response before casting it to the proper
type.
- log the last result from the language server to help debug.
- include the requestId clearly in the logs.
<img width="1061" alt="image"
src="https://github.com/user-attachments/assets/fd71ed26-7266-47ee-9204-c1ec412ca452"
/>
---
- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.
0 commit comments