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

Call to undefined method GuzzleHttp\Exception\ConnectException::getResponse() #45

Open
Michaelrsxie opened this issue Aug 17, 2022 · 0 comments

Comments

@Michaelrsxie
Copy link

版本 2.1.5
调用 send 方法的时候,如果网络连接有问题,会提示错误
Call to undefined method GuzzleHttp\Exception\ConnectException::getResponse()
看了下代码,IOS 和 Android 的 curl 方法中,catch 捕获异常后,又使用了 $e->getResponse(),这里的异常没有直接返回错误就的原因是什么,没太明白

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