aws / aws-toolkit-vscode

Amazon Q, CodeCatalyst, Local Lambda debug, SAM/CFN syntax, ECS Terminal, AWS resources
https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.amazon-q-vscode
Apache License 2.0
1.47k stars 408 forks source link

refactor(amazonqFeatureDev): include exceptions treated in code generation status detail #5280

Closed tverney closed 2 months ago

tverney commented 2 months ago

Problem

Currently we don't handle specific Guardrails type exception for code generation status detail, which leads to throw a general error and not help user self diagnose the prompt.

Solution

This PR proposes:

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.