Skip to content

Commit

Permalink
fix: DebugCommand: update message
Browse files Browse the repository at this point in the history
  • Loading branch information
hishidama committed Jun 13, 2024
1 parent 7902db4 commit b9832d7
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ private void tsubakuroResultSetClose() throws Exception {
}
}
} catch (ServerException | IOException | InterruptedException e) {
var message = e.getMessage();
if (message.contains("already closed")) {
return;
}
LOG.error("thread error", e);
throw new RuntimeException(e);
}
Expand Down Expand Up @@ -296,7 +300,7 @@ private void tsubakuroTransactionClose() throws Exception {
if (message.contains("already closed")) { // wire
return;
}
if (message.contains("Server crashed")) {
if (message.contains("lost connection")) {
return;
}
LOG.error("thread error", e);
Expand Down

0 comments on commit b9832d7

Please sign in to comment.