>From the proposal:

> If the method handler throws a std::exception, the sync server will treat
> it as though it returned an UNKNOWN Status marked with the what result of
> the exception as its error message.

Is the proposed behavior in line with the security model used for gRPC's
default choices? The proposed behavior implies that the server is
communicating with somewhat trusted clients. A more paranoid choice would be
to respond with a generic "An unexpected error has occurred" message to 
avoid
leaking potentially sensitive exception details.

-- 
Christopher Warrington
Microsoft Corp.

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/7d3e6241-8dd0-4cb2-81f8-54bebc86badb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to