Skip to content

Commit

Permalink
G2-1478 Improved exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
gdgib committed Oct 26, 2023
1 parent f56b9d6 commit 0eb5b19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public Path load(Path path) {
try {
Git.open(retVal.toFile()).pull().call();
} catch (GitAPIException | IOException e) {
throw new RuntimeException(e);
throw new RuntimeException(String.format("Failed to open \"%1$s\"", retVal), e);
}
}
}
Expand Down

0 comments on commit 0eb5b19

Please sign in to comment.