Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track all ajax errors with redux-api #184

Open
dagda1 opened this issue Oct 28, 2017 · 1 comment
Open

Track all ajax errors with redux-api #184

dagda1 opened this issue Oct 28, 2017 · 1 comment
Labels

Comments

@dagda1
Copy link

dagda1 commented Oct 28, 2017

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?

@lexich
Copy link
Owner

lexich commented Oct 28, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants