We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65fb373 commit 49d561cCopy full SHA for 49d561c
weixin-java-common/src/main/java/me/chanjar/weixin/common/bean/result/WxError.java
@@ -50,7 +50,10 @@ public static WxError fromJson(String json) {
50
51
@Override
52
public String toString() {
53
- return "微信错误: errcode=" + errorCode + ", errmsg=" + errorMsg + "\njson:" + json;
+ if(json != null){
54
+ return json;
55
+ }
56
+ return "错误: Code=" + errorCode + ", Msg=" + errorMsg;
57
}
58
59
public static Builder newBuilder(){
0 commit comments