aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-08-06 13:12:22 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-08-06 13:12:22 -0700
commitaee5d5c0528178345d99bb3823d06f19a93a3314 (patch)
treeb3f0d9ffe07381e63361914060470e588d5480ba /src
parentc2811525cf523b9831eefe3db88a58918095669a (diff)
Print error message on client auth error
Diffstat (limited to 'src')
-rw-r--r--src/core/security/client_auth_filter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/security/client_auth_filter.c b/src/core/security/client_auth_filter.c
index e2d1b6fce9..0e699874bc 100644
--- a/src/core/security/client_auth_filter.c
+++ b/src/core/security/client_auth_filter.c
@@ -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);