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

Handle HTTP and network errors according to gRPC spec on client #25

Merged
merged 16 commits into from
Jul 1, 2020

Conversation

noaelad
Copy link
Contributor

@noaelad noaelad commented Jun 23, 2020

@noaelad noaelad changed the title Rescue network error on client Handle HTTP and network errors properly on client Jun 23, 2020
@noaelad noaelad marked this pull request as ready for review June 23, 2020 01:26
@noaelad noaelad changed the title Handle HTTP and network errors properly on client Handle HTTP and network errors according to gRPC spec on client Jun 23, 2020
Copy link
Contributor

@kryptonat kryptonat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, had a question about rubocop todo

AllCops:
Exclude:
- 'spec/pb-ruby/goodbye_pb.rb'
- vendor/bundle/**/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is Rubocop looking in vendor/bundle?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dunno, but it is without this excludes statement. I think it's just looking in all the subfolders.
It actually manifests in rubocop complaining about the ruby version of some dependency oddly enough
https://app.circleci.com/pipelines/github/Gusto/grpc-web-ruby/174/workflows/e6045431-6d32-47a7-84ca-68a6318aa268/jobs/330/steps

A similar excludes statement exists in ZP.

@noaelad noaelad merged commit 262f44c into master Jul 1, 2020
@noaelad noaelad deleted the ne-rescue-network-error branch July 1, 2020 17:31
@noaelad noaelad changed the title Handle HTTP and network errors according to gRPC spec on client Fix: Handle HTTP and network errors according to gRPC spec on client Jul 7, 2020
@noaelad noaelad changed the title Fix: Handle HTTP and network errors according to gRPC spec on client Handle HTTP and network errors according to gRPC spec on client Jul 7, 2020
@noaelad
Copy link
Contributor Author

noaelad commented Jul 8, 2020

🎉 This PR is included in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants