Skip to content

Commit 1919de0

Browse files
Updated logs.
1 parent 5341259 commit 1919de0

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

OptimizelySDKCore/OptimizelySDKCore/OPTLYErrorHandlerMessages.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ typedef NS_ENUM(NSUInteger, OPTLYErrorTypes) {
6161
OPTLYErrorTypesEventDispatch,
6262
OPTLYErrorTypesEventTrack,
6363
OPTLYErrorTypesUserActivate,
64+
OPTLYErrorTypesUserProfile,
6465
};
6566

6667
@interface OPTLYErrorHandlerMessages : NSObject

OptimizelySDKCore/OptimizelySDKCore/OPTLYLoggerMessages.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
NSString *const OPTLYLoggerMessagesGroupUnknownForGroupId = @"Group not found for group id: %@."; // group id
6464
NSString *const OPTLYLoggerMessagesVariationUnknownForVariationKey = @"Unknown variation for variation key: %@."; // variation key
6565
NSString *const OPTLYLoggerMessagesVariableUnknownForVariableKey = @"Live variable not found for variable key: %@."; // live variable key
66+
NSString *const OPTLYLoggerMessagesVariationUnknownForVariationKey = @"Unknown variation for variation key: %@."; // variation key
6667
NSString *const OPTLYLoggerMessagesEventDispatcherInterval = @"Event dispatcher interval set: %ld";
6768

6869
// ---- Debug ----

OptimizelySDKCore/OptimizelySDKCore/OPTLYProjectConfig.m

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,9 @@
2626
#import "OPTLYLogger.h"
2727
#import "OPTLYProjectConfig.h"
2828
#import "OPTLYValidator.h"
29-
<<<<<<< HEAD
3029
#import "OPTLYUserProfile.h"
3130
#import "OPTLYVariable.h"
3231
#import "OPTLYUserProfile.h"
33-
<<<<<<< HEAD
34-
=======
35-
#import "OPTLYVariable.h"
36-
>>>>>>> Introduce live variable class and getters (#35)
37-
=======
38-
>>>>>>> User profile feature.
3932

4033
NSString * const kClientEngine = @"objective-c-sdk-core";
4134

@@ -94,6 +87,9 @@ - (nullable instancetype)initWithDatafile:(nullable NSData *)datafile
9487
if (userProfile) {
9588
if ([OPTLYUserProfile conformsToOPTLYUserProfileProtocol:[userProfile class]]) {
9689
<<<<<<< HEAD
90+
<<<<<<< HEAD
91+
=======
92+
>>>>>>> Updated logs.
9793
_userProfile = (id<OPTLYUserProfile, Ignore>)userProfile;
9894
} else {
9995
NSError *error = [NSError errorWithDomain:OPTLYErrorHandlerMessagesDomain
@@ -104,12 +100,16 @@ - (nullable instancetype)initWithDatafile:(nullable NSData *)datafile
104100

105101
NSString *logMessage = OPTLYErrorHandlerMessagesUserProfileInvalid;
106102
[_logger logMessage:logMessage withLevel:OptimizelyLogLevelError];
103+
<<<<<<< HEAD
107104
}
108105
=======
109106
_userProfile = userProfile;
110107
}
111108
// TODO - log error
112109
>>>>>>> User profile feature.
110+
=======
111+
}
112+
>>>>>>> Updated logs.
113113
}
114114

115115
OPTLYProjectConfig* projectConfig = nil;

0 commit comments

Comments
 (0)