redux-api
redux-api copied to clipboard
Track all ajax errors with redux-api
I am using redux-api for all remote calls.
We want to log all ajax errors, are there any hooks in redux-api that will allow me to do this?
Would I need to create my own adapter and log all errors in my own catch handler?
Would I need to create my own adapter based on this ?
Or would it be good to be able to add hooks into the existing code base for this type of thing?
Hello @dagda1 I think that the best way to write your own adapter. But there is hook responseHandler but it has very little information about response.