Skip to content

Log exceptions in gRPC server logging interceptor

Sami Hiltunen requested to merge smh-log-grpc-errors into master

gRPC server logging interceptor currently only logs status codes but not the exception messages. This makes it more difficult to correlate failed RPCs with the exceptions that failed them. This is especially with CallErrors as they cause the gRPC server not to respond to the client. This commit logs any raised exceptions under the 'exception' field.

Closes #19 (closed)
Related to #gitlab-org/gitaly#2369 (closed)

Merge request reports

Loading