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

fix: gracefully handle network errors #3

Merged
merged 2 commits into from
Dec 12, 2018
Merged

fix: gracefully handle network errors #3

merged 2 commits into from
Dec 12, 2018

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Dec 12, 2018

It almost took me a full day to find out why yarn install is hanging and never finishes! openCollective has blocked Iranian IP addresses (probably amazon). BTW in case of network problems, install never finishes. I think 3 seconds should be enough to fetch each JSON if the network is normal. I also changed the report level to debug. So in normal cases, users are not annoyed by network errors.

@pi0 pi0 requested a review from manniL December 12, 2018 17:44
@manniL
Copy link
Member

manniL commented Dec 12, 2018

Sorry for the inconveniences 🙈

@manniL manniL merged commit 04df30a into master Dec 12, 2018
@manniL manniL deleted the fix/graceful-error branch December 12, 2018 17:50
@manniL
Copy link
Member

manniL commented Dec 12, 2018

Feel free to drop a release 👍

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

Successfully merging this pull request may close these issues.

2 participants