Browse Source

comment warning, too noisy on timeouts.

Cristiano Coelho 4 years ago
parent
commit
3e3d36ea1c
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java

+ 2
- 2
android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java View File

@@ -426,7 +426,7 @@ public class RNFetchBlobReq extends BroadcastReceiver implements Runnable {
426 426
                     }
427 427
                     catch (SocketTimeoutException e ){
428 428
                         timeout = true;
429
-                        RNFetchBlobUtils.emitWarningEvent("RNFetchBlob error when sending request : " + e.getLocalizedMessage());
429
+                        //RNFetchBlobUtils.emitWarningEvent("RNFetchBlob error when sending request : " + e.getLocalizedMessage());
430 430
                     } catch(Exception ex) {
431 431
 
432 432
                     }
@@ -721,7 +721,7 @@ public class RNFetchBlobReq extends BroadcastReceiver implements Runnable {
721 721
                 }
722 722
 
723 723
                 String filePath = null;
724
-                try {    
724
+                try {
725 725
                     // the file exists in media content database
726 726
                     if (c.moveToFirst()) {
727 727
                         // #297 handle failed request