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

Create an interceptor to log server responses that have an internal error #149

Open
Tracked by #118
mkysel opened this issue Sep 9, 2024 · 2 comments
Open
Tracked by #118

Comments

@mkysel
Copy link
Collaborator

mkysel commented Sep 9, 2024

https://github.com/grpc/grpc-go/tree/master/examples/features/interceptor

@mkysel
Copy link
Collaborator Author

mkysel commented Sep 9, 2024

@neekolas @richardhuaaa can the creator of this task write some explanation blurp of the moving pieces in the description please?

@neekolas
Copy link
Contributor

neekolas commented Sep 9, 2024

When we return an error from a GRPC handler it would be great if we can log that error in a GRPC interceptor, instead of having to log the message manually.

GRPC interceptors are basically just middleware and would let you handle this generically.

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

No branches or pull requests

2 participants