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

Stream::__toString() must not thrown an exception #25

Closed
Nyholm opened this issue Aug 1, 2016 · 1 comment · Fixed by #28
Closed

Stream::__toString() must not thrown an exception #25

Nyholm opened this issue Aug 1, 2016 · 1 comment · Fixed by #28

Comments

@Nyholm
Copy link
Member

Nyholm commented Aug 1, 2016

From @shaneiseminger

Method Http\Client\Socket\Stream::__toString() must not throw an exception

When using this library with happyr/linkedin-api-client, I'm getting the above fatal error. Just needs a try/catch block in __toString(). Happy to submit a pull request.

(Originally posted here: php-http/documentation#135)

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.

2 participants