Skip to content

Commit a69e8f8

Browse files
binarywangCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 0a9e488 commit a69e8f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/WxCpServiceOkHttpImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ public String getContactAccessToken(boolean forceRefresh) throws WxErrorExceptio
106106
resultContent = response.body().string();
107107
} catch (IOException e) {
108108
log.error(e.getMessage(), e);
109+
throw new WxErrorException(e);
109110
}
110-
111111
WxError error = WxError.fromJson(resultContent, WxType.CP);
112112
if (error.getErrorCode() != 0) {
113113
throw new WxErrorException(error);

0 commit comments

Comments
 (0)