-
Notifications
You must be signed in to change notification settings - Fork 78
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
Missing error handling of no response #101
Comments
Saya kesulitan menangkap error message pada saat request pembuatan transaksi OVO. Saya menggunakan library xendit-php. Apa yang perlu saya lakukan untuk mendapatkan pesan error setelah menuliskan kode berikut : |
I just stumbled upon a similar issue here.. I have implemented a custom HTTPClient for Xendit to support calls using a proxy server. By coincidence, our proxy server was rejecting requests and returning HTTP (header) Code 407 and no body in the HTTP response. This is the uncaught error:
This is the $response in GuzzleClient
|
xendit-php/src/HttpClient/GuzzleClient.php
Lines 132 to 141 in 515d062
sometimes give this error
Call to a member function getBody() on null on line 133
as the response is not always thereThe text was updated successfully, but these errors were encountered: