Skip to content
Snippets Groups Projects
Commit 95a98ca7 authored by Yang Gao's avatar Yang Gao
Browse files

Merge pull request #2829 from ctiller/tell-the-world-about-ALL-the-things

Provide marginally better debug information for client side auth problems
parents 012349ff 26f8b283
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,7 @@ typedef struct {
static void bubble_up_error(grpc_call_element *elem, const char *error_msg) {
call_data *calld = elem->call_data;
gpr_log(GPR_ERROR, "Client side authentication failure: %s", error_msg);
grpc_transport_stream_op_add_cancellation(&calld->op,
GRPC_STATUS_UNAUTHENTICATED);
grpc_call_next_op(elem, &calld->op);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment