Manos Chorianopoulos

add request success logs

No preview for this file type
......@@ -503,10 +503,13 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
if (success) {
success([contextResponse valueForKey:@"MAPP_OFFER"]);
}
NSLog(@"**************** WARPLY Reponse *****************" );
NSLog(@"%@", contextResponse );
} failureBlock:^(NSError *error) {
if (failure) {
failure(error);
}
NSLog(@"Error at get inbox %@", error );
}];
}
......@@ -925,6 +928,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
if (success) {
success(contextResponse);
}
NSLog(@"**************** WARPLY Reponse *****************" );
NSLog(@"%@", contextResponse );
} failureBlock:^(NSError *error) {
if (failure) {
NSDictionary* dict = [NSDictionary alloc];
......@@ -936,6 +941,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
if (success) {
success(contextResponse);
}
NSLog(@"**************** WARPLY Reponse *****************" );
NSLog(@"%@", contextResponse );
} failureBlock:^(NSError *error) {
if (failure) {
failure(error);
......@@ -1100,6 +1107,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
if (success) {
success(contextResponse);
}
NSLog(@"**************** WARPLY Reponse *****************" );
NSLog(@"%@", contextResponse );
} failureBlock:^(NSError *error) {
if (failure) {
NSDictionary* dict = [NSDictionary alloc];
......@@ -1111,6 +1120,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
if (success) {
success(contextResponse);
}
NSLog(@"**************** WARPLY Reponse *****************" );
NSLog(@"%@", contextResponse );
} failureBlock:^(NSError *error) {
if (failure) {
failure(error);
......@@ -1304,6 +1315,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
if (success) {
success(successResponse);
}
NSLog(@"**************** WARPLY Reponse *****************" );
NSLog(@"%@", successResponse );
} failureBlock:^(NSError *error) {
if (failure) {
failure(error);
......@@ -1320,6 +1333,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
if (success) {
success(contextResponse);
}
NSLog(@"**************** WARPLY Reponse *****************" );
NSLog(@"%@", contextResponse );
} failureBlock:^(NSError *error) {
if (failure) {
NSDictionary* dict = [NSDictionary alloc];
......@@ -1331,6 +1346,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
if (success) {
success(contextResponse);
}
NSLog(@"**************** WARPLY Reponse *****************" );
NSLog(@"%@", contextResponse );
} failureBlock:^(NSError *error) {
if (failure) {
failure(error);
......@@ -1808,6 +1825,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
if (success) {
success(contextResponse);
}
NSLog(@"**************** WARPLY Reponse *****************" );
NSLog(@"%@", contextResponse );
} failureBlock:^(NSError *error) {
if (failure) {
failure(error);
......@@ -1824,6 +1843,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
if (success) {
success(contextResponse);
}
NSLog(@"**************** WARPLY Reponse *****************" );
NSLog(@"%@", contextResponse );
} failureBlock:^(NSError *error) {
if (failure) {
NSDictionary* dict = [NSDictionary alloc];
......@@ -1835,6 +1856,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
if (success) {
success(contextResponse);
}
NSLog(@"**************** WARPLY Reponse *****************" );
NSLog(@"%@", contextResponse );
} failureBlock:^(NSError *error) {
if (failure) {
failure(error);
......