Skip to content

fix: error information is lost#1377

Open
rix0rrr wants to merge 4 commits intomainfrom
huijbers/error-codes
Open

fix: error information is lost#1377
rix0rrr wants to merge 4 commits intomainfrom
huijbers/error-codes

Conversation

@rix0rrr
Copy link
Copy Markdown
Contributor

@rix0rrr rix0rrr commented Apr 16, 2026

Error code information was attached to a ToolkitError that was later on rethrown with a blanket code, losing the error code. Maintain the error code if we have it.

Also add an integ test to confirm we correctly extract synthesis errors from an application that fails with a synthesis exception.


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

Error code information was attached to a `ToolkitError` that was later
on rethrown with a blanket code, losing the error code. Maintain the
error code if we have it.

Also add an integ test to confirm we correctly extract synthesis errors
from an application that fails with a synthesis exception.
@rix0rrr rix0rrr requested a review from a team April 16, 2026 11:06
@github-actions github-actions bot added the p2 label Apr 16, 2026
@aws-cdk-automation aws-cdk-automation requested a review from a team April 16, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants