本地联调时 访问pudge apisix接口时 接口报错打印错误日志 方便下游业务排查问题
This commit is contained in:
parent
c1d3d03e30
commit
c2467df19e
@ -259,6 +259,7 @@ public class ContextInfoBuilderAspect {
|
||||
} else if (map.containsKey("error")) {
|
||||
throw new AuthException(map.get("error").toString());
|
||||
} else {
|
||||
log.warn("remoteAuthFromPudge error {}", JSONUtil.toJsonStr(map));
|
||||
throw new AuthException("无法解析鉴权认证请求的返回值,token=" + contextInfo.getToken());
|
||||
}
|
||||
} catch (AuthException e) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user