redux-api icon indicating copy to clipboard operation
redux-api copied to clipboard

Track all ajax errors with redux-api

Open dagda1 opened this issue 6 years ago • 1 comments

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?

dagda1 avatar Oct 28 '17 14:10 dagda1

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.

lexich avatar Oct 28 '17 19:10 lexich