Skip to content

Commit

Permalink
avoid swallowing causedBy exception in PlainBatchParameterProcessor
Browse files Browse the repository at this point in the history
Signed-off-by: Lee Surprenant <lmsurpre@merative.com>
  • Loading branch information
lmsurpre committed Oct 20, 2022
1 parent cbe7e9b commit 0b5c2fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 0b5c2fb

Please sign in to comment.