From 85be058f37a355745a3b9020f5c65496e746eb16 Mon Sep 17 00:00:00 2001 From: Arpan Mishra Date: Mon, 6 Nov 2023 14:34:57 +0530 Subject: [PATCH] fix: message. --- .../java/com/google/cloud/spanner/TransactionRunnerImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/TransactionRunnerImpl.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/TransactionRunnerImpl.java index f8c91ee0255..bfec4478702 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/TransactionRunnerImpl.java +++ b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/TransactionRunnerImpl.java @@ -422,7 +422,7 @@ public void run() { res.setException(SpannerExceptionFactory.propagateInterrupt(e)); txnLogger.log( Level.WARNING, - String.format("TimeoutException occurred for Session => %s", session.getName()), + String.format("InterruptedException occurred for Session => %s", session.getName()), e); } catch (TimeoutException e) { res.setException(SpannerExceptionFactory.propagateTimeout(e)); @@ -435,7 +435,7 @@ public void run() { SpannerExceptionFactory.newSpannerException(e.getCause() == null ? e : e.getCause())); txnLogger.log( Level.WARNING, - String.format("TimeoutException occurred for Session => %s", session.getName()), + String.format("ExecutionException occurred for Session => %s", session.getName()), e); } }