add some missing asserts

// FREEBIE
pull/1/head
Michael Kirk 8 years ago
parent 2a7a4aa34f
commit 811a4ac4b5

@ -312,6 +312,7 @@ NS_ASSUME_NONNULL_BEGIN
actionString,
self.interaction.uniqueId,
[self.mediaItem class]);
OWSAssert(NO);
}
- (TSAttachmentStream *)attachmentStream

@ -127,6 +127,7 @@ NS_ASSUME_NONNULL_BEGIN
// Shouldn't get here, as only supported actions should be exposed via canPerformEditingAction
DDLogError(@"'%@' action unsupported for %@: attachmentId=%@", actionString, self.class, self.attachmentId);
OWSAssert(NO);
}
@end

@ -275,6 +275,7 @@ NS_ASSUME_NONNULL_BEGIN
NSString *actionString = NSStringFromSelector(action);
DDLogError(
@"Unexpected action: %@ for VideoAttachmentAdapter with contentType: %@", actionString, self.contentType);
OWSAssert(NO);
}
}

Loading…
Cancel
Save