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

Implement grpc app info #208

Merged
merged 8 commits into from
Jul 6, 2017
Merged

Implement grpc app info #208

merged 8 commits into from
Jul 6, 2017

Conversation

aguerra
Copy link
Contributor

@aguerra aguerra commented Jun 19, 2017

I'm also proposing a way of handling errors so that we get nice annotated log messages from all layers (useful for debugging):

ERRO[0062] app info failed: rpc error: code = Unknown desc = Unknown error: unmarshal app failed: invalid character 'v' after object key 
ERRO[0004] app info failed: rpc error: code = NotFound desc = App not found: get label failed: namespaces "test" not found 

and at the same time the end user get clear and concise messages: App not found.

This change is Reviewable

@drgarcia1986 drgarcia1986 mentioned this pull request Jun 19, 2017
26 tasks
Based on annotating and wrapping errors.
Copy link
Contributor

@drgarcia1986 drgarcia1986 left a comment

Choose a reason for hiding this comment

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

Killer Job, congrats 👏

@aguerra aguerra merged commit 054ce56 into master Jul 6, 2017
@aguerra aguerra deleted the ag-grpc-app-info branch July 6, 2017 14:32
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

2 participants