Skip to content

Commit

Permalink
Correct criteo logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nonelse committed Mar 23, 2015
1 parent 2af77d1 commit ec27267
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/ADJCriteo.m
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ + (void)injectHashedEmailIntoCriteoEvents:(NSString *)hashEmail
+ (NSString*) createCriteoVBFromProducts:(NSArray*) products
{
if (products == nil) {
[self.logger warn:@"Criteo Event product list is empty. It will sent as empty."];
[self.logger warn:@"Criteo Event product list is nil. It will sent as empty."];
products = @[];
}

Expand Down Expand Up @@ -210,7 +210,7 @@ + (NSString*) createCriteoVBFromProducts:(NSArray*) products
+ (NSString*) createCriteoVLFromProducts:(NSArray*) productIds
{
if (productIds == nil) {
[self.logger warn:@"Criteo View Listing product ids list is empty. It will sent as empty."];
[self.logger warn:@"Criteo View Listing product ids list is nil. It will sent as empty."];
productIds = @[];
}
NSUInteger productsIdCount = [productIds count];
Expand Down

0 comments on commit ec27267

Please sign in to comment.