-
Notifications
You must be signed in to change notification settings - Fork 3
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
How to deal with API errors? #61
Comments
Can you describe what exactly happens on a 500 error response and which behaviour you expect instead?
|
I just got that error a few times but last week was 5 or 6 times.. Seems random API errors. I expect to catch the exception and not having the PHP to throw the fault error 500 page. |
I looked at the code. It checks the HTTP status code and throws a general PHP |
Closing this issue because of inactivity. Feel free to reopen it. |
Sometimes API return error 500. Tried try catch with no success since the call is made with a curl in your lib.
The text was updated successfully, but these errors were encountered: