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

Incorrect ClientException class being caught in Client::postRequest #24

Closed
vladpavlovic opened this issue Jan 14, 2019 · 0 comments · Fixed by #25
Closed

Incorrect ClientException class being caught in Client::postRequest #24

vladpavlovic opened this issue Jan 14, 2019 · 0 comments · Fixed by #25

Comments

@vladpavlovic
Copy link
Contributor

Currently, the ClientException class being caught in Client::postRequest method is referenced as:
GuzzleHttp\Exception\ClientException, which is not the correct namespace.

This needs to be either \GuzzleHttp\Exception\ClientException or simply ClientException (to take advantage of the already present use GuzzleHttp\Exception\ClientException statement.

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

Successfully merging a pull request may close this issue.

1 participant