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

Fix Guzzle error processing with http_errors=true #44

Closed

Conversation

savchukoleksii
Copy link

When Guzzle option http_errors=true this errorResponses not processing and this code skipped during exception:
yield $this->transformResponseToResult($response, $request, $command);
This fix allow errorResponses mappings from Description.
If error not found in errorResponses than Guzzle error will propagate.

.gitignore Outdated Show resolved Hide resolved
@savchukoleksii
Copy link
Author

@GrahamCampbell
Done

@GrahamCampbell
Copy link
Member

Could you add a unit test please? Then I'll be happy to merge.

@savchukoleksii
Copy link
Author

@GrahamCampbell sorry, have not time for continue this pr. Can you help me with tests?

@GrahamCampbell
Copy link
Member

I don't have any capacity for this. I think we just need to say that that we require people not use that mode.

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.

None yet

2 participants