Fix error message to include cause if ResetCommand fails
Bug: 464048 Change-Id: I6e7d9262b94cb168c84faef1dea22c1e082fe5ad Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
300a55dcba
commit
41c4f9cb2a
|
@ -227,9 +227,9 @@ else if (repo.readSquashCommitMsg() != null)
|
||||||
setCallable(false);
|
setCallable(false);
|
||||||
return result;
|
return result;
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new JGitInternalException(
|
throw new JGitInternalException(MessageFormat.format(
|
||||||
JGitText.get().exceptionCaughtDuringExecutionOfResetCommand,
|
JGitText.get().exceptionCaughtDuringExecutionOfResetCommand,
|
||||||
e);
|
e.getMessage()), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue