Skip to content

Commit

Permalink
Include inner exception when re-throwing
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917176 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
centic9 committed Apr 20, 2024
1 parent d4bcc2b commit 6936398
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -180,7 +180,7 @@ void testPackage(String testcase, File testFile, String extractor, int count) th
testExtractor(ext, testcase, extractor, count);
pkg.revert();
} catch (Exception e) {
throw new Exception("While handling " + testcase + " - " + testFile + " - " + extractor);
throw new Exception("While handling " + testcase + " - " + testFile + " - " + extractor, e);
}
}

Expand Down

0 comments on commit 6936398

Please sign in to comment.