🎨 #1591 给部分请求方法导致无限递归调用的代码增加日志,方便排查问题

This commit is contained in:
Binary Wang
2020-08-23 23:52:12 +08:00
parent 2797bd657a
commit 33b13b1bcd
5 changed files with 8 additions and 1 deletions

View File

@@ -255,6 +255,7 @@ public abstract class BaseWxMaServiceImpl<H, P> implements WxMaService, RequestH
lock.unlock();
}
if (this.getWxMaConfig().autoRefreshToken()) {
log.warn("即将重新获取新的access_token错误代码{},错误信息:{}", error.getErrorCode(), error.getErrorMsg());
return this.execute(executor, uri, data);
}
}