aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-03-10 14:52:51 -0800
committerGravatar Muxi Yan <mxyan@google.com>2017-03-10 14:52:51 -0800
commit44e1837ef914b6ad4133a3eaf38761ca37d9ae83 (patch)
tree1531892ee4dddaa2d40069d88a2bd79334f68b64 /src/objective-c/GRPCClient
parent8ce266449705c13fc6645b4e55e4f75411fb622c (diff)
Add comment for ignoring errorHandler in GRPCOpSendMessage and TODO
Diffstat (limited to 'src/objective-c/GRPCClient')
-rw-r--r--src/objective-c/GRPCClient/GRPCCall.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall.m b/src/objective-c/GRPCClient/GRPCCall.m
index ff47465012..7d928f81c1 100644
--- a/src/objective-c/GRPCClient/GRPCCall.m
+++ b/src/objective-c/GRPCClient/GRPCCall.m
@@ -307,6 +307,8 @@ static NSMutableDictionary *callFlags;
[_wrappedCall startBatchWithOperations:@[op]
errorHandler:errorHandler];
} else {
+ // Ignored errorHandler since it is the same as the one for GRPCOpSendClose.
+ // TODO (mxyan): unify the error handlers of all Ops into a single closure.
[_unaryOpBatch addObject:op];
}
}