aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/surface
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-12-14 07:23:42 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-01-06 14:53:14 -0800
commit60e63d41e18ccd57482fc9df1455513e080f7220 (patch)
treeb88f7cedb87e63f231a3bd2fb1b407a838a22978 /src/core/lib/surface
parentd7ee291d5f915e2663af4327961d587c45bffc5d (diff)
Fixes
Diffstat (limited to 'src/core/lib/surface')
-rw-r--r--src/core/lib/surface/call.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/lib/surface/call.c b/src/core/lib/surface/call.c
index 17fda435aa..38b6225abd 100644
--- a/src/core/lib/surface/call.c
+++ b/src/core/lib/surface/call.c
@@ -627,6 +627,11 @@ static void get_final_status(grpc_call *call,
static void set_status_from_error(grpc_exec_ctx *exec_ctx, grpc_call *call,
status_source source, grpc_error *error) {
+ const char *es = grpc_error_string(error);
+ gpr_log(GPR_DEBUG, "%p[%d]: set %d[is_set=%d] to %s", call, call->is_client,
+ source, call->status[source].is_set, es);
+ grpc_error_free_string(es);
+
if (call->status[source].is_set) {
GRPC_ERROR_UNREF(error);
return;