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

Quiet curl #270

Open
pascalBokBok opened this issue May 11, 2018 · 1 comment
Open

Quiet curl #270

pascalBokBok opened this issue May 11, 2018 · 1 comment

Comments

@pascalBokBok
Copy link

Hi
Httpful should ask curl to be quiet / not write to STDOUT/ERR.
Example:
When a domain name cannot be resolved the php script using httpful will output "Could not resolve host: somehost.com" and then Httpful will throw an Httpful\Exception\ConnectionErrorException with the same info.
But even if I catch the error I still get the output.
There shouldn't be any output - just the exception.

The same issue appears for connection timeouts.

@pascalBokBok
Copy link
Author

@nategood
If unmaintained, it would be nice if you refered to some Httpful alternatives for newcomers.

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