Skip to content

Commit

Permalink
fix: provide error info from foojay when listing/fetching JDK's (#1824)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen authored Aug 12, 2024
1 parent 1e2e4d0 commit f385183
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ public List<Jdk> listAvailable() {
result.sort(Jdk::compareTo);
return Collections.unmodifiableList(result);
} catch (IOException e) {
Util.verboseMsg("Couldn't list available JDKs", e);
Util.errorMsg("Could not list available JDK's using foojay.io: " + e.getMessage(), e);
// Util.verboseMsg("Couldn't list available JDKs", e);
}
return Collections.emptyList();
}
Expand Down

0 comments on commit f385183

Please sign in to comment.