-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Hi,
Found an issue with the error reporting, on this line in particular:
php-sdk/src/Hyperwallet/Util/ApiClient.php
Line 178 in 225462e
| $body = \GuzzleHttp\json_decode($e->getResponse()->getBody(), true); |
We've got some errors returned in plain HTML, which (obviously) failed to be json_decoded
This might be a server issue more than the SDK, however that would be good to be able to handle a non-json error as well, as for not it just throws a PHP error, and I had to manually edit the package on prod to be able to see what was happening
Cheers,
Metadata
Metadata
Assignees
Labels
No labels
