Show error message once only

This commit is contained in:
René Pfeuffer
2020-11-11 11:04:14 +01:00
parent 01a5dbd091
commit 5b44be5e5b

View File

@@ -87,7 +87,7 @@ public class SvnModifyCommand implements ModifyCommand {
);
return String.valueOf(svnCommitInfo.getNewRevision());
} catch (SVNException e) {
throw withPattern(SVN_ERROR_PATTERN).forMessage(repository, e.getMessage());
throw withPattern(SVN_ERROR_PATTERN).forMessage(repository, e.getErrorMessage().getRootErrorMessage().getFullMessage());
}
}