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): /test: show descriptive error message (aws#6795)
## Problem
Currently, when test generation fails, users see a generic error
message: `Sorry, I am experiencing technical issues at the moment.
Please try again in a few minutes.` This message doesn't provide
actionable information to help users resolve the issue.
## Solution
Enhanced error handling to display specific error messages from the
backend. For example, when a test generation command is malformed, users
will now see a descriptive message like: `I apologize, but I couldn't
process your /test instruction. Try: /test and optionally specify a
class, function or method.` These targeted error messages help users
understand and correct their inputs.
---
<img width="1722" alt="Screenshot 2025-03-17 at 10 01 53 AM"
src="https://github.com/user-attachments/assets/0f2c3279-de93-4e20-9263-cdf1eebf4603"
/>
- 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