diff --git a/re-git/src/main/java/com/g2forge/reassert/git/GitRepository.java b/re-git/src/main/java/com/g2forge/reassert/git/GitRepository.java index f23c5959..dc3a52ca 100644 --- a/re-git/src/main/java/com/g2forge/reassert/git/GitRepository.java +++ b/re-git/src/main/java/com/g2forge/reassert/git/GitRepository.java @@ -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); } } }