Skip to content

Commit

Permalink
Throw less generic exception
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Nov 15, 2024
1 parent 8920ee2 commit 31c917a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ private static Process startProcess(String[] args) {
process = Runtime.getRuntime().exec(args);
}
catch (IOException e) {
throw new RuntimeException(e);
throw new UncheckedIOException("Failed to start process", e);
}
return process;
}
Expand Down

0 comments on commit 31c917a

Please sign in to comment.