React Native + Axios 3.0.0
about 1 month ago by Yvan Rajaonarivony
- Fix an issue preventing
DataDomeInterceptorto propagate error responses to the callercatchblock
Breaking changes
DataDomeInterceptornow propagates errors when the request fails with a status code other than401 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.
