Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

Commit

Permalink
Don't swallow original exception during the beginning of a tx.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-simons committed Jul 8, 2020
1 parent e8bd9ad commit 10cde87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ protected void doBegin(Object transaction, TransactionDefinition definition) thr

TransactionSynchronizationManager.bindResource(this.driver, transactionHolder);
} catch (Exception ex) {
throw new TransactionSystemException(String.format("Could not open a new Neo4j session: %s", ex.getMessage()));
throw new TransactionSystemException(String.format("Could not open a new Neo4j session: %s", ex.getMessage()), ex);
}
}

Expand Down

0 comments on commit 10cde87

Please sign in to comment.