zhuyifan

print log

...@@ -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 }
......