We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef7632a + bff547a commit 96a2c76Copy full SHA for 96a2c76
marklogic-client-api/src/main/java/com/marklogic/client/io/DocumentMetadataHandle.java
@@ -787,12 +787,8 @@ private void sendMetadataImpl(OutputStream out) {
787
788
serializer.flush();
789
serializer.close();
790
- } catch (XMLStreamException e) {
791
- throw new MarkLogicIOException("Failed to serialize metadata", e);
792
- } catch (TransformerFactoryConfigurationError e) {
793
794
- } catch (TransformerException e) {
795
+ } catch (Exception e) {
+ throw new MarkLogicIOException("Failed to serialize metadata: cause: " + e.getMessage(), e);
796
}
797
798
0 commit comments