aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/ProtoRPC/ProtoRPC.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-12-07 10:29:24 -0800
committerGravatar Muxi Yan <mxyan@google.com>2018-12-07 10:29:24 -0800
commit92db5fc72488f9d62b81ee311a79832df787f3ef (patch)
treef9f2188c0e15bcbd2a72f446b3193281f1894ff0 /src/objective-c/ProtoRPC/ProtoRPC.m
parentf0f6e03212837c67d7e078e6f33074e80aa4bcc0 (diff)
Rename getTokenWithHandler
Diffstat (limited to 'src/objective-c/ProtoRPC/ProtoRPC.m')
-rw-r--r--src/objective-c/ProtoRPC/ProtoRPC.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoRPC.m b/src/objective-c/ProtoRPC/ProtoRPC.m
index da53435178..92d7fce33c 100644
--- a/src/objective-c/ProtoRPC/ProtoRPC.m
+++ b/src/objective-c/ProtoRPC/ProtoRPC.m
@@ -168,7 +168,7 @@ static NSError *ErrorForBadProto(id proto, Class expectedClass, NSError *parsing
}
- (void)writeMessage:(GPBMessage *)message {
- NSAssert([message isKindOfClass:[GPBMessage class]]);
+ NSAssert([message isKindOfClass:[GPBMessage class]], @"Parameter message must be a GPBMessage");
if (![message isKindOfClass:[GPBMessage class]]) {
NSLog(@"Failed to send a message that is non-proto.");
return;