aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-18 11:50:00 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-18 12:14:23 -0700
commit3bdf794bd031162913f533a2a9535f4066a41abd (patch)
tree7e7d507cadb7e900ad89f98d954b9c602c199cdd /src
parent4af17518c023cd32bc98c796d6f99e4f4978f49a (diff)
Handle channel nil case
Diffstat (limited to 'src')
-rw-r--r--src/objective-c/GRPCClient/GRPCCall.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall.m b/src/objective-c/GRPCClient/GRPCCall.m
index a142c669db..0facf97e09 100644
--- a/src/objective-c/GRPCClient/GRPCCall.m
+++ b/src/objective-c/GRPCClient/GRPCCall.m
@@ -720,7 +720,7 @@ const char *kCFStreamVarName = "grpc_cfstream";
[self maybeFinishWithError:[NSError errorWithDomain:kGRPCErrorDomain
code:GRPCErrorCodeUnavailable
userInfo:@{
- NSLocalizedDescriptionKey : @"Failed to create call from channel."
+ NSLocalizedDescriptionKey : @"Failed to create call or channel."
}]];
return;
}