@@ -50,7 +50,7 @@ + (void)launchForAPIKey:(NSString *)apiKey {
50
50
@try {
51
51
[VWOController.shared launchWithAPIKey: apiKey config: nil withTimeout: nil withCallback: nil failure: nil ];
52
52
}@catch (NSException *exception ) {
53
- VWOLogError (@" Caught an exception: %@ " , exception );
53
+ VWOLogException (@" Caught an exception in launchForAPIKey method : %@ " , exception );
54
54
}
55
55
});
56
56
}
@@ -127,7 +127,7 @@ + (id)objectForKey:(NSString *)key{
127
127
@try {
128
128
object = [VWOController.shared variationForKey: key];
129
129
}@catch (NSException *exception ) {
130
- VWOLogError (@" Caught an exception: %@ " , exception );
130
+ VWOLogException (@" Caught an exception in objectForKey method : %@ " , exception );
131
131
}
132
132
});
133
133
return object;
@@ -140,7 +140,7 @@ + (id)objectForKey:(NSString *)key testKey:(NSString *)testKey{
140
140
@try {
141
141
object = [VWOController.shared variationForKey: key testKey: testKey];
142
142
}@catch (NSException *exception ) {
143
- VWOLogError (@" Caught an exception: %@ " , exception );
143
+ VWOLogException (@" Caught an exception in objectForKey testKey method : %@ " , exception );
144
144
}
145
145
});
146
146
@@ -211,7 +211,7 @@ + (nullable NSString *)variationNameForTestKey:(NSString *)campaignTestKey {
211
211
variationName = [VWOController.shared variationNameForCampaignTestKey: campaignTestKey];
212
212
}
213
213
@catch (NSException *exception ) {
214
- VWOLogError (@" Caught an exception: %@ " , exception );
214
+ VWOLogException (@" Caught an exception in variationNameForTestKey method : %@ " , exception );
215
215
}
216
216
});
217
217
return variationName;
0 commit comments