Skip to content

Commit 15aa381

Browse files
committed
[bugfix] Don't hide the details of the underlying exception when failing to deploy an EXPath Package
1 parent 9118e60 commit 15aa381

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exist-core/src/main/java/org/exist/repo/Deployment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ private void storeFiles(final DBBroker broker, final Txn transaction, final Path
852852
storeBinary(broker, transaction, targetCollection, file, mime, name, permission);
853853
} else {
854854
// could neither store as xml nor binary: give up and report failure in outer catch
855-
throw new EXistException(FileUtils.fileName(file) + " cannot be stored");
855+
throw new EXistException(FileUtils.fileName(file) + " cannot be stored", e);
856856
}
857857
}
858858
} catch (final SAXException | EXistException | PermissionDeniedException | LockException | IOException e) {

0 commit comments

Comments
 (0)