Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Run a test from cli that calls...
$data = OpenGraph::fetch($url, true); // where url returns a 404 error.
See error: shweshi\OpenGraph\Exceptions\FetchException. The requested URL returned error: 404 Not Found
Expected behavior
I would have expected the error to have been failed gracefully, returning the 404 message to the calling method.
Desktop (please complete the following information):
OS: MacOS with Docker/Laradock
Browser n/a
Version current/latest
Additional context
I'm actually calling it with... but still not getting past the fetch error thrown.
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior: Run a test from cli that calls...
$data = OpenGraph::fetch($url, true); // where url returns a 404 error.
See error:shweshi\OpenGraph\Exceptions\FetchException. The requested URL returned error: 404 Not Found
Expected behavior I would have expected the error to have been failed gracefully, returning the 404 message to the calling method.
Desktop (please complete the following information):
Additional context I'm actually calling it with... but still not getting past the fetch error thrown.