diff --git a/fhir-persistence-params/src/main/java/org/linuxforhealth/fhir/persistence/params/database/PlainBatchParameterProcessor.java b/fhir-persistence-params/src/main/java/org/linuxforhealth/fhir/persistence/params/database/PlainBatchParameterProcessor.java index 005baf0af67..eeb064ae694 100644 --- a/fhir-persistence-params/src/main/java/org/linuxforhealth/fhir/persistence/params/database/PlainBatchParameterProcessor.java +++ b/fhir-persistence-params/src/main/java/org/linuxforhealth/fhir/persistence/params/database/PlainBatchParameterProcessor.java @@ -114,7 +114,7 @@ public void pushBatch() throws FHIRPersistenceException { try { dao.pushBatch(); } catch (SQLException x) { - throw new FHIRPersistenceException("pushBatch failed for '" + resourceType + "'"); + throw new FHIRPersistenceException("pushBatch failed for '" + resourceType + "'", x); } }