Commit 58bc92bc by huangfusuper

修改插件rpc的错误

parent a5c01a4d
......@@ -28,7 +28,7 @@ public class ExceptionHandle {
if(e instanceof IException){
return error(e);
}else if(e instanceof DataValidationException){
return ResponseResult.error(TransferResultEnum.ERROR.getCode(), MythLogUtils.getMessage(e));
return ResponseResult.error(TransferResultEnum.ERROR.getCode(), e.getMessage());
}
return ResponseResult.error(MythLogUtils.getMessage(e));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment