Skip to content

Commit

Permalink
Fix #56 SocketTimeoutException doesn't crash the app
Browse files Browse the repository at this point in the history
  • Loading branch information
javiersantos committed Mar 31, 2017
1 parent 4d4ffba commit b1477b3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ public Update parse() {
Log.e("AppUpdater", "I/O error. AppUpdate can't check for updates.", e);
return null;
} catch (Exception e) {
throw new RuntimeException(e);
Log.e("AppUpdater", "The server is down or there isn't an active Internet connection.", e);
return null;
} finally {
if (inputStream != null) {
try {
Expand Down

0 comments on commit b1477b3

Please sign in to comment.