|
|
@@ -327,7 +327,8 @@ public class WxCorpOpsImpl implements WxCorpOps {
|
|
|
String body = IoKit.toString(res.body());
|
|
|
JSONObject jsonObject = Jsons.parseObject(body, JSONObject.class);
|
|
|
if (jsonObject.getInt("errcode") != 0) {
|
|
|
- throw BusinessRuntimeException.getInstance("更新客服活码失败");
|
|
|
+ log.error("更新客服活码失败, request:{}, response:{}", Jsons.toJson(corpFollowContact), body);
|
|
|
+ throw BusinessRuntimeException.getInstance("更新客服活码失败: " + jsonObject.getStr("errmsg") + "[" + jsonObject.getInt("errcode") + "]");
|
|
|
}
|
|
|
}
|
|
|
|