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); } }