文案优化

This commit is contained in:
xuxueli 2018-03-09 12:06:31 +08:00
parent d02c99dfb2
commit 295fb256c7
4 changed files with 4 additions and 5 deletions

View File

@ -1183,6 +1183,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
- 19、提供多版本执行器不依赖容器版本、不内嵌Jetty版本通过配置executoraddress替换jetty通讯
- 20、注册中心支持扩展除默认基于DB之外支持扩展接入第三方注册中心如zk、eureka等
- 21、依赖Core内部国际化处理
- 22、大数据量下任务日志分页优化时间选择组件支持清空功能可提升速度
## 七、其他

View File

@ -58,8 +58,7 @@ public class NetComClientProxy implements FactoryBean<Object> {
// valid response
if (response == null) {
logger.error(">>>>>>>>>>> xxl-rpc netty response not found.");
throw new Exception(">>>>>>>>>>> xxl-rpc netty response not found.");
throw new Exception("Network request fail, response not found.");
}
if (response.isError()) {
throw new RuntimeException(response.getError());

View File

@ -29,7 +29,7 @@ public class JettyClient {
byte[] responseBytes = HttpClientUtil.postRequest(reqURL, requestBytes);
if (responseBytes == null || responseBytes.length==0) {
RpcResponse rpcResponse = new RpcResponse();
rpcResponse.setError("RpcResponse byte[] is null");
rpcResponse.setError("Network request fail, RpcResponse byte[] is null");
return rpcResponse;
}
@ -40,7 +40,7 @@ public class JettyClient {
logger.error(e.getMessage(), e);
RpcResponse rpcResponse = new RpcResponse();
rpcResponse.setError("Client-error:" + e.getMessage());
rpcResponse.setError("Network request error: " + e.getMessage());
return rpcResponse;
}
}

View File

@ -64,7 +64,6 @@ public class HttpClientUtil {
EntityUtils.consume(entity);
}
} catch (Exception e) {
logger.error(e.getMessage(), e);
throw e;
} finally {
httpPost.releaseConnection();