Skip to content
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.

Commit

Permalink
Remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
wkh237 committed Nov 3, 2016
1 parent 1ebba13 commit a3a44d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,9 @@ public Response intercept(Chain chain) throws IOException {
}
catch (SocketTimeoutException e ){
timeout = true;
RNFetchBlobUtils.emitWarningEvent("RNFetchBlob error when sending request : " + e.getLocalizedMessage());
} catch(Exception ex) {
RNFetchBlobUtils.emitWarningEvent("RNFetchBlob error when sending request : " + ex.getLocalizedMessage());

}
return chain.proceed(chain.request());
}
Expand Down
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ function fetchFile(options = {}, method, url, headers = {}, body):Promise {
let total = -1
let cacheData = ''
let info = null
let {x,y} = a.props
let _progress, _uploadProgress, _stateChange

switch(method.toLowerCase()) {
Expand Down

0 comments on commit a3a44d3

Please sign in to comment.