aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/security
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-08-07 12:59:45 -0700
committerGravatar Yang Gao <yangg@google.com>2015-08-07 12:59:45 -0700
commit95a98ca768683f3864b1aefc9d6f266b22705b2a (patch)
treebcd82712b34d34f71b95fd8a6aa9778dc1ca0f86 /src/core/security
parent012349ff88db634d9fe8ae781108700b3cee08c4 (diff)
parent26f8b283a46081154161b76c932a4f5e7844bdba (diff)
Merge pull request #2829 from ctiller/tell-the-world-about-ALL-the-things
Provide marginally better debug information for client side auth problems
Diffstat (limited to 'src/core/security')
-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);