Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit 086fdc6

Browse files
committed
fix: add error message
1 parent 953ab22 commit 086fdc6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

google-cloud-spanner/src/main/java/com/google/cloud/spanner/TransactionRunnerImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,8 @@ public void onError(SpannerException e, boolean withBeginTransaction) {
533533
SpannerExceptionFactory.newSpannerException(
534534
ErrorCode.ABORTED,
535535
"Aborted due to failed initial statement",
536-
SpannerExceptionFactory.createAbortedExceptionWithRetryDelay(null, e, 0, 1)));
536+
SpannerExceptionFactory.createAbortedExceptionWithRetryDelay(
537+
"Aborted due to failed initial statement", e, 0, 1)));
537538
}
538539

539540
if (e.getErrorCode() == ErrorCode.ABORTED) {

0 commit comments

Comments
 (0)