Skip to content

Commit

Permalink
fix: message.
Browse files Browse the repository at this point in the history
  • Loading branch information
arpan14 committed Nov 6, 2023
1 parent 0f7f700 commit 85be058
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand All @@ -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);
}
}
Expand Down

0 comments on commit 85be058

Please sign in to comment.