Showing
1 changed file
with
1 additions
and
0 deletions
| ... | @@ -82,6 +82,7 @@ public class WxMiniProgramHttpClient { | ... | @@ -82,6 +82,7 @@ public class WxMiniProgramHttpClient { |
| 82 | final var response = restTemplate.getForEntity(url, WxUserOpenIdDto.class); | 82 | final var response = restTemplate.getForEntity(url, WxUserOpenIdDto.class); |
| 83 | return response.getBody(); | 83 | return response.getBody(); |
| 84 | } catch (Exception e) { | 84 | } catch (Exception e) { |
| 85 | + log.error("Error fetching user openid", e); | ||
| 85 | throw new IllegalArgumentException("获取用户openid失败"); | 86 | throw new IllegalArgumentException("获取用户openid失败"); |
| 86 | } | 87 | } |
| 87 | } | 88 | } | ... | ... |
-
Please register or login to post a comment