Skip to content

Commit

Permalink
[enhancement](err-msg) Clarify error msg for forward queries (#40802) (
Browse files Browse the repository at this point in the history
…#41474)

## Proposed changes

pick: #40802
  • Loading branch information
TangSiyang2001 authored Sep 29, 2024
1 parent 676c4e3 commit 9864324
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,9 @@ public static class ForwardToMasterException extends RuntimeException {
.put(TTransportException.UNKNOWN, "Unknown exception")
.put(TTransportException.NOT_OPEN, "Connection is not open")
.put(TTransportException.ALREADY_OPEN, "Connection has already opened up")
.put(TTransportException.TIMED_OUT, "Connection timeout")
.put(TTransportException.TIMED_OUT,
"Connection timeout, please check network state or enlarge session variable:"
+ "`query_timeout`/`insert_timeout`")
.put(TTransportException.END_OF_FILE, "EOF")
.put(TTransportException.CORRUPTED_DATA, "Corrupted data")
.build();
Expand Down

0 comments on commit 9864324

Please sign in to comment.