Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI: error message is sometimes empty #32237

Open
1 task
rix0rrr opened this issue Nov 21, 2024 · 1 comment
Open
1 task

CLI: error message is sometimes empty #32237

rix0rrr opened this issue Nov 21, 2024 · 1 comment
Assignees
Labels
bug This issue is a bug. effort/small Small work item – less than a day of effort p2 package/tools Related to AWS CDK Tools or CLI

Comments

@rix0rrr
Copy link
Contributor

rix0rrr commented Nov 21, 2024

Describe the bug

Sometimes when we print e.message, it turns out that e is an AggregateError without a message defined itself.

In those cases, we should probably build a message out of the messages of the errors inside the AggregateError.

I'm not sure where these can originate, but the SDKv3 sometimes produces errors like this.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError

Regression Issue

  • Select this option if this issue appears to be a regression.

Last Known Working CDK Version

No response

Framework Version

No response

Node.js Version

OS

Language

TypeScript

Language Version

No response

Other information

No response

@rix0rrr rix0rrr added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Nov 21, 2024
@github-actions github-actions bot added the package/tools Related to AWS CDK Tools or CLI label Nov 21, 2024
@ashishdhingra ashishdhingra added p2 effort/small Small work item – less than a day of effort and removed needs-triage This issue or PR still needs to be triaged. labels Nov 21, 2024
@ashishdhingra
Copy link
Contributor

Labeling this as p2 since this is opened by CDK team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. effort/small Small work item – less than a day of effort p2 package/tools Related to AWS CDK Tools or CLI
Projects
None yet
Development

No branches or pull requests

3 participants