Browse Source

comment warning, too noisy on timeouts.

Cristiano Coelho 5 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
                     }
426
                     }
427
                     catch (SocketTimeoutException e ){
427
                     catch (SocketTimeoutException e ){
428
                         timeout = true;
428
                         timeout = true;
429
-                        RNFetchBlobUtils.emitWarningEvent("RNFetchBlob error when sending request : " + e.getLocalizedMessage());
429
+                        //RNFetchBlobUtils.emitWarningEvent("RNFetchBlob error when sending request : " + e.getLocalizedMessage());
430
                     } catch(Exception ex) {
430
                     } catch(Exception ex) {
431
 
431
 
432
                     }
432
                     }
721
                 }
721
                 }
722
 
722
 
723
                 String filePath = null;
723
                 String filePath = null;
724
-                try {    
724
+                try {
725
                     // the file exists in media content database
725
                     // the file exists in media content database
726
                     if (c.moveToFirst()) {
726
                     if (c.moveToFirst()) {
727
                         // #297 handle failed request
727
                         // #297 handle failed request