Commit 954bd520 sunke

Http请求出错添加日志

1 个父辈 634bd595
......@@ -61,6 +61,7 @@ public class HttpHelper {
httpClient.close();
return responseContent;
}catch (Exception e){
log.error("请求出错",e);
throw new ApiException("Request to [" + url + "] failed:" + e.getMessage());
}
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!