Print error message on client auth error

pull/2829/head
Craig Tiller 10 years ago
parent c2811525cf
commit aee5d5c052
  1. 1
      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);

Loading…
Cancel
Save