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: use external aggregate-error package to get better messages #73

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

swain
Copy link
Contributor

@swain swain commented Apr 23, 2024

Motivation

Currently, we're using the NodeJS built-in AggregateError. We discovered today that this is problematic, because NodeJS does not include a useful .message field on AggregateError objects. So, when they are logged, there is no helpful data.

Using this external package gives us a more complete message field, and thus more useful errors.

@swain swain merged commit 8c2e0d3 into master Apr 23, 2024
4 checks passed
@swain swain deleted the fix-aggregate-error branch April 23, 2024 15:17
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.

3 participants