[fix](forward) add exception msg for ForwardToMasterException (#26956)

Signed-off-by: nextdreamblue <zxw520blue1@163.com>
This commit is contained in:
xueweizhang
2023-11-14 20:20:29 +08:00
committed by GitHub
parent 8b097af9fa
commit 2d8438fa1b

View File

@ -239,7 +239,7 @@ public class MasterOpExecutor {
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