Skip to content

Commit 3e3d36e

Browse files
committed
comment warning, too noisy on timeouts.
1 parent 99a81e5 commit 3e3d36e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ public Response intercept(@NonNull Chain chain) throws IOException {
426426
}
427427
catch (SocketTimeoutException e ){
428428
timeout = true;
429-
RNFetchBlobUtils.emitWarningEvent("RNFetchBlob error when sending request : " + e.getLocalizedMessage());
429+
//RNFetchBlobUtils.emitWarningEvent("RNFetchBlob error when sending request : " + e.getLocalizedMessage());
430430
} catch(Exception ex) {
431431

432432
}
@@ -721,7 +721,7 @@ public void onReceive(Context context, Intent intent) {
721721
}
722722

723723
String filePath = null;
724-
try {
724+
try {
725725
// the file exists in media content database
726726
if (c.moveToFirst()) {
727727
// #297 handle failed request

0 commit comments

Comments
 (0)