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

Added http error code and error status for responseStreamChunk error #59

Merged
merged 6 commits into from
Sep 25, 2015

Conversation

kdima
Copy link

@kdima kdima commented Sep 23, 2015

This is a fix for #58

@@ -16,6 +17,13 @@ type responseStreamChunk struct {
Error string `json:"error,omitempty"`
}

type responseStreamError struct {
GrpcCode int `json:"grcp_code, omitempty"`
HttpCode int `json:"http_code, omitempty"`
Copy link
Member

Choose a reason for hiding this comment

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

Golint error. Should be HTTPCode.

@yugui
Copy link
Member

yugui commented Sep 24, 2015

I like the direction, but please fix some errors.

  • Two golint errors.
  • Build error. This error was overlooked because .travis.yaml of the repository was wrong. So I have just fixed .travis.yaml in the master branch.

@kdima
Copy link
Author

kdima commented Sep 24, 2015

I have fixed the mentioned issues. Could you please have an other look?

@yugui
Copy link
Member

yugui commented Sep 25, 2015

LGTM. Thank you for your contribution.

yugui added a commit that referenced this pull request Sep 25, 2015
Added http error code and error status for responseStreamChunk error
@yugui yugui merged commit 4a018ea into grpc-ecosystem:master Sep 25, 2015
ithinker1991 pushed a commit to tronprotocol/grpc-gateway that referenced this pull request Jun 18, 2018
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