aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2019-01-16 01:13:38 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2019-01-16 02:22:32 +0100
commit159968abc4fad1546ff7651450067b8cbce3bf2a (patch)
tree46dd844c7a9cb4ed454e326ff64fc82f7f8d3c18 /org.eclipse.jgit/src/org/eclipse
parentd4d9625d4ba7fe598c768922ce87d88ba0b5709f (diff)
downloadjgit-159968abc4fad1546ff7651450067b8cbce3bf2a.tar.gz
jgit-159968abc4fad1546ff7651450067b8cbce3bf2a.zip
pgm: propagate generic exceptions when throwing Die exception
If a command is stopped by throwing a Die exception since a generic exception was caught this exception contains additional information which is not available in the error message. Hence chain it to the Die exception in order to allow printing a complete stacktrace including causes to the error stream of the JGit command line by adding option --show-stack-trace, e.g. $ jgit --show-stack-trace commit -m "test" Change-Id: I7ad8c56b997ab60d2bd08f4e7b4d0b80c84021c3 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse')
0 files changed, 0 insertions, 0 deletions