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

jsonrpc.DefaultErrorEncoder: add RequestID in error body #969

Merged
merged 2 commits into from Mar 22, 2020

Conversation

esenac
Copy link
Contributor

@esenac esenac commented Mar 7, 2020

This PR adds requestID field in jsonrpc.DefaultErrorEncoder as requested in issue #959.

@go-kit go-kit deleted a comment from codecov-io Mar 8, 2020
@esenac
Copy link
Contributor Author

esenac commented Mar 16, 2020

Hi @peterbourgon , have you had a chance to take a look to this PR yet?

transport/http/jsonrpc/server.go Outdated Show resolved Hide resolved
transport/http/jsonrpc/server.go Outdated Show resolved Hide resolved
transport/http/jsonrpc/server_test.go Outdated Show resolved Hide resolved
transport/http/jsonrpc/server_test.go Show resolved Hide resolved
transport/http/jsonrpc/server_test.go Show resolved Hide resolved
transport/http/jsonrpc/server_test.go Outdated Show resolved Hide resolved
transport/http/jsonrpc/server_test.go Outdated Show resolved Hide resolved
transport/http/jsonrpc/server_test.go Show resolved Hide resolved
transport/http/jsonrpc/server_test.go Outdated Show resolved Hide resolved
transport/http/jsonrpc/server_test.go Outdated Show resolved Hide resolved
@esenac
Copy link
Contributor Author

esenac commented Mar 20, 2020

Thanks for your feedback @peterbourgon. I implemented your review suggestions, CircleCI is failing at Config Processing step but it seems unrelated to the PR content, could you confirm it please?

@peterbourgon peterbourgon merged commit cb67d82 into go-kit:master Mar 22, 2020
@peterbourgon
Copy link
Member

CircleCI stuff was a bug. Thanks!

@sagikazarmark sagikazarmark added this to the v0.11.0 milestone Jun 19, 2021
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.

None yet

3 participants