Handle channel nil case

pull/16190/head
Muxi Yan 6 years ago
parent 4af17518c0
commit 3bdf794bd0
  1. 2
      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;
}

Loading…
Cancel
Save