Skip to content

Commit

Permalink
Catch all exceptions when trying to read PETEP version to prevent cra…
Browse files Browse the repository at this point in the history
…shes
  • Loading branch information
Warxim committed Jul 7, 2022
1 parent c632728 commit a0dce5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/warxim/petep/util/WebApiUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public static String getLatestVersion() {
}

return object.get("version").getAsString();
} catch (IOException e) {
} catch (Exception e) {
logVersionFetchError();
}

Expand Down

0 comments on commit a0dce5e

Please sign in to comment.