Thanks for the excellent feedback. That's a reasonable point since the
exception may not have been issued directly by the method handler but
rather by something many levels underneath (as pointed out in the
justification for the proposal).

On Mon, Jan 8, 2018 at 4:50 PM 'Christopher Warrington - MSFT' via grpc.io <
[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/grpc-io/7d3e6241-8dd0-4cb2-81f8-54bebc86badb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CADEy0h2BR%2B9frj%2BSb8JBhy2UgOPPdfGRNqY6tfzU9%2BNr3eJz-Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to