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

Network errors doesn't have status code #41

Open
LauraBeatris opened this issue Sep 16, 2020 · 3 comments
Open

Network errors doesn't have status code #41

LauraBeatris opened this issue Sep 16, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@LauraBeatris
Copy link
Contributor

image

Refer to: apollographql/apollo-link#300

@pedro-lb pedro-lb added the enhancement New feature or request label Sep 16, 2020
@LauraBeatris
Copy link
Contributor Author

LauraBeatris commented Sep 16, 2020

https://www.npmjs.com/package/apollo-link-network-error

A feature request related to it would be cool!

When a network error happens, we can retrieve the data available on the cache instead of showing the error

@LauraBeatris
Copy link
Contributor Author

LauraBeatris commented Sep 16, 2020

A feature request related to it would be cool!

It's not related with Sentry - Ignore this hahah

Although it can be cool to test on other projects 👀

@pedro-lb
Copy link
Contributor

https://www.npmjs.com/package/apollo-link-network-error

A feature request related to it would be cool!

When a network error happens, we can retrieve the data available on the cache instead of showing the error

I don't think apollo-sentry-helper should deal with offline data, this link is specifically tailored to deal with sentry errors...

But that's awesome - we can definitely take a look at it 🚀

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

No branches or pull requests

2 participants