summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Gluck <justin.gluck@livio.io>2019-04-09 14:59:37 -0400
committerJustin Gluck <justin.gluck@livio.io>2019-04-09 14:59:37 -0400
commit94412a041c7c2fb091a4bba8b88f19a537323c03 (patch)
tree29ceaadc9b2f526582d39ecde6e1243005dd241e
parent642aaf550e2e27eb1dd703fc464c953004f6cd7d (diff)
downloadsdl_ios-94412a041c7c2fb091a4bba8b88f19a537323c03.tar.gz
Log error so dev knows a cell wont show upbugfix/issue-1220-ChoiceSetManager-return-nil-if-noMenuName
-rw-r--r--SmartDeviceLink/SDLPreloadChoicesOperation.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLPreloadChoicesOperation.m b/SmartDeviceLink/SDLPreloadChoicesOperation.m
index 7e33c9bd9..7d01de75f 100644
--- a/SmartDeviceLink/SDLPreloadChoicesOperation.m
+++ b/SmartDeviceLink/SDLPreloadChoicesOperation.m
@@ -160,6 +160,7 @@ NS_ASSUME_NONNULL_BEGIN
NSString *menuName = [self.displayCapabilities hasTextFieldOfName:SDLTextFieldNameMenuName] ? cell.text : nil;
if(!menuName) {
+ SDLLogE(@"Could not convert SDLChoiceCell to SDLCreateInteractionChoiceSet. It will not be shown. Cell: %@", cell);
return nil;
}