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

Use codes.Code.String() rather than logging integers #1027

Merged
merged 1 commit into from
Feb 28, 2017
Merged

Use codes.Code.String() rather than logging integers #1027

merged 1 commit into from
Feb 28, 2017

Conversation

tamird
Copy link
Contributor

@tamird tamird commented Dec 19, 2016

This produces better human-readable error messages.

@tamird tamird changed the title Use codes.Code.String() rather that logging integers Use codes.Code.String() rather than logging integers Dec 19, 2016
This produces better human-readable error messages.
@tamird
Copy link
Contributor Author

tamird commented Feb 27, 2017

This is green. Who's the maintainer of this project now? Please have a look.

@tamird
Copy link
Contributor Author

tamird commented Feb 27, 2017

@menghanl?

@menghanl
Copy link
Contributor

This is actually a behavior change.
Is this very necessary?

@tamird
Copy link
Contributor Author

tamird commented Feb 27, 2017

Yeah, it's a minor behaviour change, but the current errors are quite difficult to deal with. Do you think someone is depending on the string representation of this error?

@menghanl
Copy link
Contributor

I don't know of anyone depending on the string.

@tamird
Copy link
Contributor Author

tamird commented Feb 28, 2017

@menghanl so, is this good to go?

@menghanl
Copy link
Contributor

menghanl commented Feb 28, 2017

Merging this because depending on the string doesn't look like the right thing.

@menghanl menghanl merged commit aefc96d into grpc:master Feb 28, 2017
@tamird
Copy link
Contributor Author

tamird commented Feb 28, 2017

Thanks!

@tamird tamird deleted the stringify-codes branch February 28, 2017 20:00
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants