React Native + Axios 3.0.0
13 days ago by Yvan Rajaonarivony
- Fix an issue preventing
DataDomeInterceptorto propagate error responses to the callercatchblock
Breaking changes
DataDomeInterceptor now propagates errors when the request fails with a status code other than 401 or 403 after retrying.
Previously, such errors were silently ignored, preventing them from reaching the caller’s catch block.
Impact:
- Requests that previously appeared as resolved may now reject.
- Downstream code using the interceptor must handle potential rejections via
.catch()ortry/catch.
