aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2016-06-01 10:46:59 -0700
committerGravatar Craig Tiller <craig.tiller@gmail.com>2016-06-01 10:46:59 -0700
commit87b75c201a132f3678222d857e0f6b09aa7ac58e (patch)
tree28c815030103d715b860c7e28e90ac4b4a9faced /src/core/ext
parent5e3a0ef666ce8f00744066df304d49e4f00124fe (diff)
Pass through connection error
Diffstat (limited to 'src/core/ext')
-rw-r--r--src/core/ext/transport/chttp2/client/secure/secure_channel_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/transport/chttp2/client/secure/secure_channel_create.c b/src/core/ext/transport/chttp2/client/secure/secure_channel_create.c
index bceef152be..40f575f782 100644
--- a/src/core/ext/transport/chttp2/client/secure/secure_channel_create.c
+++ b/src/core/ext/transport/chttp2/client/secure/secure_channel_create.c
@@ -153,7 +153,7 @@ static void connected(grpc_exec_ctx *exec_ctx, void *arg, grpc_error *error) {
memset(c->result, 0, sizeof(*c->result));
notify = c->notify;
c->notify = NULL;
- notify->cb(exec_ctx, notify->cb_arg, GRPC_ERROR_NONE);
+ notify->cb(exec_ctx, notify->cb_arg, grpc_error_ref(error));
}
}