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

fix(.NET): Improve Collection of Errors string #728

Open
wants to merge 1 commit into
base: mainline
Choose a base branch
from

Conversation

texastony
Copy link
Contributor

@texastony texastony commented Dec 23, 2024

Issue #, if available:

Description of changes:
Collection of Errors is a frustrating error because it requires customer action
to completely serialize it into logs.

We can make a simple fix in .NET to improve the CX,
by always serializing the list into the Collection Of Error's
message.

We concatenate the given error message with
a serialization of all the nested errors.

See similar PR for MPL-Java: aws/aws-cryptographic-material-providers-library@9e195a1

Squash/merge commit message, if applicable:

fix(.NET): Improve Collection of Errors string 

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

@texastony texastony changed the title fix(.NET): always include listed errors in Collection of Errs msg fix(.NET): Improve Collection of Errors string Dec 23, 2024
Patch files updated via:
```
gmake polymorph_dotnet DAFNY_VERSION=4.9.0 POLYMORPH_OPTIONS=--update-patch-files |& tee poly.log |& less -r +F
```
@texastony texastony force-pushed the tony/fix-collectionOfErrors branch from 0e05ae6 to 7705c2c Compare December 23, 2024 21:51
@texastony texastony marked this pull request as ready for review December 23, 2024 21:51
@texastony texastony requested a review from a team as a code owner December 23, 2024 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant