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: logging batch errors #1263

Merged
merged 1 commit into from Oct 24, 2023
Merged

fix: logging batch errors #1263

merged 1 commit into from Oct 24, 2023

Conversation

marcolink
Copy link
Member

Summary

Safe logging of batched erors

Description

We assume that the errors received are all of type BatchedError. This is not the case. To handle this situation gracefully, we have to add checks for the shape of received errors.

Motivation and Context

Reported by a customer.
fixes #1257

@marcolink marcolink requested a review from a team as a code owner October 24, 2023 07:25
@marcolink marcolink merged commit d937838 into master Oct 24, 2023
2 checks passed
@marcolink marcolink deleted the fix/batch-error-logging branch October 24, 2023 07:33
@contentful-automation
Copy link

🎉 This PR is included in version 4.17.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants