Skip to content

Commit a568701

Browse files
author
TheSnoozer
committed
no need to wrap a GitCommitIdExecutionException into yet another GitCommitIdExecutionException
1 parent 74698bb commit a568701

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/pl/project13/core/JGitProvider.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ public void prepareGitToExtractMoreDetailedRepoInformation() throws GitCommitIdE
104104
}
105105
evalCommit = revWalk.parseCommit(headObjectId);
106106
revWalk.markStart(evalCommit);
107+
} catch (GitCommitIdExecutionException e) {
108+
throw e;
107109
} catch (Exception e) {
108110
throw new GitCommitIdExecutionException(e.getMessage(), e);
109111
}

0 commit comments

Comments
 (0)