Skip to content

Commit bcfec79

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

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
@@ -849,7 +849,7 @@ private void storeFiles(final DBBroker broker, final Txn transaction, final Path
849849
storeBinary(broker, transaction, targetCollection, file, mime, name, permission);
850850
} else {
851851
// could neither store as xml nor binary: give up and report failure in outer catch
852-
throw new EXistException(FileUtils.fileName(file) + " cannot be stored");
852+
throw new EXistException(FileUtils.fileName(file) + " cannot be stored", e);
853853
}
854854
}
855855
} catch (final SAXException | EXistException | PermissionDeniedException | LockException | IOException e) {

0 commit comments

Comments
 (0)