-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
xendit-php/src/HttpClient/GuzzleClient.php
Lines 132 to 141 in 515d062
| $response = $e->getResponse(); | |
| $rbody = json_decode($response->getBody()->getContents(), true); | |
| $rcode = $response->getStatusCode(); | |
| $rheader = $response->getHeaders(); | |
| self::_handleAPIError( | |
| array('body' => $rbody, | |
| 'code' => $rcode, | |
| 'header' => $rheader) | |
| ); |
sometimes give this error
Call to a member function getBody() on null on line 133 as the response is not always there
Metadata
Metadata
Assignees
Labels
No labels