Manos Chorianopoulos

add request success logs

No preview for this file type
...@@ -503,10 +503,13 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) ...@@ -503,10 +503,13 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
503 if (success) { 503 if (success) {
504 success([contextResponse valueForKey:@"MAPP_OFFER"]); 504 success([contextResponse valueForKey:@"MAPP_OFFER"]);
505 } 505 }
506 + NSLog(@"**************** WARPLY Reponse *****************" );
507 + NSLog(@"%@", contextResponse );
506 } failureBlock:^(NSError *error) { 508 } failureBlock:^(NSError *error) {
507 if (failure) { 509 if (failure) {
508 failure(error); 510 failure(error);
509 } 511 }
512 + NSLog(@"Error at get inbox %@", error );
510 }]; 513 }];
511 } 514 }
512 515
...@@ -925,6 +928,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) ...@@ -925,6 +928,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
925 if (success) { 928 if (success) {
926 success(contextResponse); 929 success(contextResponse);
927 } 930 }
931 + NSLog(@"**************** WARPLY Reponse *****************" );
932 + NSLog(@"%@", contextResponse );
928 } failureBlock:^(NSError *error) { 933 } failureBlock:^(NSError *error) {
929 if (failure) { 934 if (failure) {
930 NSDictionary* dict = [NSDictionary alloc]; 935 NSDictionary* dict = [NSDictionary alloc];
...@@ -936,6 +941,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) ...@@ -936,6 +941,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
936 if (success) { 941 if (success) {
937 success(contextResponse); 942 success(contextResponse);
938 } 943 }
944 + NSLog(@"**************** WARPLY Reponse *****************" );
945 + NSLog(@"%@", contextResponse );
939 } failureBlock:^(NSError *error) { 946 } failureBlock:^(NSError *error) {
940 if (failure) { 947 if (failure) {
941 failure(error); 948 failure(error);
...@@ -1100,6 +1107,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) ...@@ -1100,6 +1107,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
1100 if (success) { 1107 if (success) {
1101 success(contextResponse); 1108 success(contextResponse);
1102 } 1109 }
1110 + NSLog(@"**************** WARPLY Reponse *****************" );
1111 + NSLog(@"%@", contextResponse );
1103 } failureBlock:^(NSError *error) { 1112 } failureBlock:^(NSError *error) {
1104 if (failure) { 1113 if (failure) {
1105 NSDictionary* dict = [NSDictionary alloc]; 1114 NSDictionary* dict = [NSDictionary alloc];
...@@ -1111,6 +1120,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) ...@@ -1111,6 +1120,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
1111 if (success) { 1120 if (success) {
1112 success(contextResponse); 1121 success(contextResponse);
1113 } 1122 }
1123 + NSLog(@"**************** WARPLY Reponse *****************" );
1124 + NSLog(@"%@", contextResponse );
1114 } failureBlock:^(NSError *error) { 1125 } failureBlock:^(NSError *error) {
1115 if (failure) { 1126 if (failure) {
1116 failure(error); 1127 failure(error);
...@@ -1304,6 +1315,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) ...@@ -1304,6 +1315,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
1304 if (success) { 1315 if (success) {
1305 success(successResponse); 1316 success(successResponse);
1306 } 1317 }
1318 + NSLog(@"**************** WARPLY Reponse *****************" );
1319 + NSLog(@"%@", successResponse );
1307 } failureBlock:^(NSError *error) { 1320 } failureBlock:^(NSError *error) {
1308 if (failure) { 1321 if (failure) {
1309 failure(error); 1322 failure(error);
...@@ -1320,6 +1333,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) ...@@ -1320,6 +1333,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
1320 if (success) { 1333 if (success) {
1321 success(contextResponse); 1334 success(contextResponse);
1322 } 1335 }
1336 + NSLog(@"**************** WARPLY Reponse *****************" );
1337 + NSLog(@"%@", contextResponse );
1323 } failureBlock:^(NSError *error) { 1338 } failureBlock:^(NSError *error) {
1324 if (failure) { 1339 if (failure) {
1325 NSDictionary* dict = [NSDictionary alloc]; 1340 NSDictionary* dict = [NSDictionary alloc];
...@@ -1331,6 +1346,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) ...@@ -1331,6 +1346,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
1331 if (success) { 1346 if (success) {
1332 success(contextResponse); 1347 success(contextResponse);
1333 } 1348 }
1349 + NSLog(@"**************** WARPLY Reponse *****************" );
1350 + NSLog(@"%@", contextResponse );
1334 } failureBlock:^(NSError *error) { 1351 } failureBlock:^(NSError *error) {
1335 if (failure) { 1352 if (failure) {
1336 failure(error); 1353 failure(error);
...@@ -1808,6 +1825,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) ...@@ -1808,6 +1825,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
1808 if (success) { 1825 if (success) {
1809 success(contextResponse); 1826 success(contextResponse);
1810 } 1827 }
1828 + NSLog(@"**************** WARPLY Reponse *****************" );
1829 + NSLog(@"%@", contextResponse );
1811 } failureBlock:^(NSError *error) { 1830 } failureBlock:^(NSError *error) {
1812 if (failure) { 1831 if (failure) {
1813 failure(error); 1832 failure(error);
...@@ -1824,6 +1843,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) ...@@ -1824,6 +1843,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
1824 if (success) { 1843 if (success) {
1825 success(contextResponse); 1844 success(contextResponse);
1826 } 1845 }
1846 + NSLog(@"**************** WARPLY Reponse *****************" );
1847 + NSLog(@"%@", contextResponse );
1827 } failureBlock:^(NSError *error) { 1848 } failureBlock:^(NSError *error) {
1828 if (failure) { 1849 if (failure) {
1829 NSDictionary* dict = [NSDictionary alloc]; 1850 NSDictionary* dict = [NSDictionary alloc];
...@@ -1835,6 +1856,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) ...@@ -1835,6 +1856,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
1835 if (success) { 1856 if (success) {
1836 success(contextResponse); 1857 success(contextResponse);
1837 } 1858 }
1859 + NSLog(@"**************** WARPLY Reponse *****************" );
1860 + NSLog(@"%@", contextResponse );
1838 } failureBlock:^(NSError *error) { 1861 } failureBlock:^(NSError *error) {
1839 if (failure) { 1862 if (failure) {
1840 failure(error); 1863 failure(error);
......