Skip to content

Commit b12f18a

Browse files
committed
EVCSFileNotFound throwing fixed in getFileContent()
1 parent 681d299 commit b12f18a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/scm4j/vcs/svn/SVNVCS.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ public String getFileContent(String branchName, String filePath, String revision
250250
return baos.toString(StandardCharsets.UTF_8.name());
251251
} catch (SVNException e) {
252252
if (e.getErrorMessage().getErrorCode().getCode() == SVN_FILE_NOT_FOUND_ERROR_CODE) {
253-
throw new EVCSFileNotFound(e);
253+
throw new EVCSFileNotFound(getRepoUrl(), getBranchName(branchName), filePath, revision);
254254
}
255255
throw new EVCSException(e);
256256
} catch (Exception e) {

0 commit comments

Comments
 (0)