浏览代码

comment warning, too noisy on timeouts.

Cristiano Coelho 4 年前
父节点
当前提交
3e3d36ea1c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java

+ 2
- 2
android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java 查看文件

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