Skip to content

Commit 3ef939e

Browse files
authored
Merge pull request #271 from JaZo/patch-1
Add note about Guzzle throwing exceptions
2 parents f035595 + f59e09a commit 3ef939e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clients/guzzle6-adapter.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ to the client::
4141
$guzzle = new GuzzleClient($config);
4242
// ...
4343
$adapter = new GuzzleAdapter($guzzle);
44+
45+
If you pass a Guzzle instance to the adapter, make sure to configure Guzzle to not throw exceptions on HTTP error status codes, or this adapter will violate PSR-18.
4446

4547
And use it to send synchronous requests::
4648

0 commit comments

Comments
 (0)