openapi-fetch version
0.15.0
Description
I want to catch an error happen during a request. But when i tried it on React native, i can't even trigger a console when error happened. As you can see at my code below
but for onRequest, there is no problem
Reproduction
- Write middleware
onError contain console.log
- Trigger error request
- The console doesn't show up
Expected result
The console should show up when the error happened
Extra
openapi-fetch version
0.15.0
Description
I want to catch an error happen during a request. But when i tried it on React native, i can't even trigger a console when error happened. As you can see at my code below
but for
onRequest, there is no problemReproduction
onErrorcontain console.logExpected result
The console should show up when the error happened
Extra