Remove redundant comment

pull/7245/head
Muxi Yan 9 years ago
parent ff6cd70a1b
commit 3b67f3622b
  1. 4
      src/objective-c/GRPCClient/GRPCCall.m

@ -208,10 +208,6 @@ NSString * const kGRPCTrailersKey = @"io.grpc.TrailersKey";
// don't want to throw, because the app shouldn't crash for a behavior
// that's on the hands of any server to have. Instead we finish and ask
// the server to cancel.
//
// TODO(jcanizales): No canonical code is appropriate for this situation
// (because it's just a client problem). Use another domain and an
// appropriately-documented code.
[weakSelf finishWithError:[NSError errorWithDomain:kGRPCErrorDomain
code:GRPCErrorCodeResourceExhausted
userInfo:@{NSLocalizedDescriptionKey: @"Client does not have enough memory to hold the server response."}]];

Loading…
Cancel
Save