Skip to content

Commit

Permalink
Remove exc handler
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte committed Dec 25, 2024
1 parent c9f6ca2 commit f3cf750
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ public static List<Library> resolveLibraries(List<URI> repositoryUrls, Collectio
var result = collector.libraries.stream().map(future -> {
try {
return future.get();
} catch (ExecutionException e) {
if (e.getCause() instanceof RuntimeException re) {
throw re;
} else if (e.getCause() instanceof IOException re) {
throw new UncheckedIOException(re);
} else {
throw new RuntimeException(e);
}
} catch (Exception e) {
throw new RuntimeException(e);
}
Expand Down

0 comments on commit f3cf750

Please sign in to comment.