Skip to content

Commit 559560b

Browse files
committed
Clarify message on expected error on first run.
1 parent 1a0a5ae commit 559560b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/BranchSDK/BNCPreferenceHelper.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ - (NSData *)loadPrefData {
969969
NSError *error = nil;
970970
data = [NSData dataWithContentsOfURL:self.class.URLForPrefsFile options:0 error:&error];
971971
if (error || !data) {
972-
[[BranchLogger shared] logWarning:@"Failed to load preferences from storage." error:error];
972+
[[BranchLogger shared] logWarning:@"Failed to load preferences from storage. This is expected on first run." error:error];
973973
}
974974
} @catch (NSException *) {
975975
[[BranchLogger shared] logWarning:@"Failed to load preferences from storage." error:nil];

0 commit comments

Comments
 (0)