Skip to content

Commit

Permalink
[fix](forward) add exception msg for ForwardToMasterException (apache…
Browse files Browse the repository at this point in the history
…#26956)

Signed-off-by: nextdreamblue <[email protected]>
  • Loading branch information
nextdreamblue authored and seawinde committed Nov 14, 2023
1 parent ead504d commit ae7ebfb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public static class ForwardToMasterException extends RuntimeException {
private final String msg;

public ForwardToMasterException(String msg, TTransportException exception) {
this.msg = msg + ", cause: " + TYPE_MSG_MAP.get(exception.getType());
this.msg = msg + ", cause: " + TYPE_MSG_MAP.get(exception.getType()) + ", " + exception.getMessage();
}

@Override
Expand Down

0 comments on commit ae7ebfb

Please sign in to comment.