Skip to content

Commit 9cce964

Browse files
committed
INTENG-6187 add logging
1 parent fb14ed4 commit 9cce964

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Branch-SDK/Branch-SDK/BNCEncodingUtils.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ + (NSString *)encodeDictionaryToJsonString:(NSDictionary *)dictionary {
167167

168168
// protect against non-string keys
169169
if (![key isKindOfClass:[NSString class]]) {
170+
BNCLogError(@"Unexpected key type %@. Skipping key.", [key class]);
170171
continue;
171172
}
172173

0 commit comments

Comments
 (0)