Skip to content

Commit 74698bb

Browse files
author
TheSnoozer
committed
instead of 'Error' use the Exception message to construct a GitCommitIdExecutionException
1 parent b4d3622 commit 74698bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public void prepareGitToExtractMoreDetailedRepoInformation() throws GitCommitIdE
105105
evalCommit = revWalk.parseCommit(headObjectId);
106106
revWalk.markStart(evalCommit);
107107
} catch (Exception e) {
108-
throw new GitCommitIdExecutionException("Error", e);
108+
throw new GitCommitIdExecutionException(e.getMessage(), e);
109109
}
110110
}
111111

0 commit comments

Comments
 (0)