[💡 FEATURE REQUEST]: Including grpc error details in log messages #1897
Labels
C-feature-request
Category: feature requested, but need to be discussed
help-heeded-medium
Call for participation: Experience needed to fix: Medium / intermediate
P-GRPC
Plugins: GRPC
Plugin
GRPC
I have an idea!
Currently, returning non-OK
google.rpc.Status
will result in grpc plugin adding an error log message as:Sometimes this is too generic as usually all the important details are in, well,
details
field.It might be useful to also log
details
, except it's a repeatedgoogle.protobuf.Any
, which will clutter the log message.Unless we want to be strict, a possibly good consideration would be limiting output only to messages from
"google/rpc/error_details.proto"
(which is sort of a recommended and common way to structure grpc errors, anyway).The text was updated successfully, but these errors were encountered: