mirror of https://github.com/apache/poi.git
Add slightly more output if signature-test fails
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894681 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
34ea6a50e0
commit
f4ae175558
|
@ -1177,7 +1177,9 @@ class TestSignatureInfo {
|
||||||
} else if (file.exists()) {
|
} else if (file.exists()) {
|
||||||
try (InputStream fis = new FileInputStream(file)) {
|
try (InputStream fis = new FileInputStream(file)) {
|
||||||
keystore.load(fis, password);
|
keystore.load(fis, password);
|
||||||
}
|
} catch (IOException e) {
|
||||||
|
throw new IOException("Failed when reading file " + file, e);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
keystore.load(null, password);
|
keystore.load(null, password);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue