Skip to content

Conversation

gdebrauwer
Copy link

Linked to saloonphp/saloon#314 (test will succeed when code of that PR is merged)

If a failed response should not be treated as failure because the hasRequestFailed returns false, then the Laravel Http Sender currently throws a Can only throw objects PHP error. That is caused by the fact that the toException() method on the response returns null and you can not throw null.

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 this pull request may close these issues.

1 participant