Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

获取access_token出错抛出异常最好把json信息全部抛出来比较好 #5

Open
gityejing opened this issue Apr 28, 2019 · 0 comments

Comments

@gityejing
Copy link

weixin 类中的 base().token()方法,其抛出异常只是返回了文字信息,没有直接把json数据抛出,就无法看到ip地址。在生产环境上面,通常都把日志输出给屏蔽掉了,就无法看到日志里面的json信息。所以,这个方法抛出异常的时候,直接将json数据抛出比较好。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant