完善异常输出

This commit is contained in:
Binary Wang
2017-07-06 15:21:42 +08:00
parent 8dc2b4d0af
commit 15d7773f8a
3 changed files with 4 additions and 4 deletions

View File

@@ -405,7 +405,7 @@ public abstract class AbstractWxCpServiceImpl<H, P> implements WxCpService, Requ
if (error.getErrorCode() != 0) {
this.log.error("\n【请求地址】: {}\n【请求参数】{}\n【错误信息】{}", uriWithAccessToken, data, error);
throw new WxErrorException(error);
throw new WxErrorException(error, e);
}
return null;
} catch (IOException e) {