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

Make the responseError interceptor backward compatible, add a body property #3891

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

mcollina
Copy link
Member

This makes the responseError interceptor backward compatible.
throwOnError added a err.body property, while the interceptor adds a err.data property. I've renamed data to body.

…operty

Signed-off-by: Matteo Collina <hello@matteocollina.com>
Copy link
Member

@mertcanaltin mertcanaltin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mcollina mcollina merged commit 3c67a3d into main Nov 27, 2024
36 of 37 checks passed
@mcollina mcollina deleted the fix-response-error-body branch November 27, 2024 13:37
@github-actions github-actions bot mentioned this pull request Dec 3, 2024
This was referenced Dec 16, 2024
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.

2 participants