Skip to content

Commit

Permalink
'e' is already defined πŸ™„
Browse files Browse the repository at this point in the history
  • Loading branch information
UHLIG\jbeers committed Apr 12, 2018
1 parent 05e70c2 commit 2d78b58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/android/Sync.java
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,8 @@ private boolean download(final String source, final File file, final JSONObject
try {
sendErrorMessage(e.getLocalizedMessage(), CONNECTION_ERROR, callbackContext, connection.getResponseCode());
}
catch( Throwable e ){
sendErrorMessage(e.getLocalizedMessage(), CONNECTION_ERROR, callbackContext, -1);
catch( Throwable handShakeError ){
sendErrorMessage(handShakeError.getLocalizedMessage(), CONNECTION_ERROR, callbackContext, -1);
}
} catch (IOException ioe) {
}
Expand Down

0 comments on commit 2d78b58

Please sign in to comment.