aws-toolkit-vscode icon indicating copy to clipboard operation
aws-toolkit-vscode copied to clipboard

fix: handling validation errors in approach/code generation

Open gasolima opened this issue 1 year ago • 1 comments

Problem

When a validation errors(repo size exceeds limit or corrupted zip file) thrown from approach/code generation it will show generic internal error to the user

Solution

Catch those errors and show proper errors

Screenshot 2024-06-28 at 08 44 13 Screenshot 2024-06-28 at 08 42 34

REMINDER:
- Read CONTRIBUTING.md first.
- Add test coverage for your changes.
- Update the changelog using `npm run newChange`.
- Link to related issues/commits.
- Testing: how did you test your changes?
- Screenshots (if the pull request is related to UI/UX then please include light and dark theme screenshots)

-->

License

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

gasolima avatar Jun 28 '24 06:06 gasolima

CI failing. Also needs a rebase.

justinmk3 avatar Jul 02 '24 11:07 justinmk3