-
Notifications
You must be signed in to change notification settings - Fork 22
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
Only catching guzzle ClientException, ServerException gets through #16
Comments
Hi, I think that catching all the server errors from autopilot would be great. It would hide some call errors. We can still modify the package to fit your behaviour. Do you have any idea why autopilot return you a 500 error ? Thank you for your help, |
Thanks for responding!
And then their status page doesn't say anything was wrong |
This kind of errors seems pretty weird. If you perform twice the post request, does it return 500 errors each time ? Did you ask autopilot why they have this kind of errors ? |
I don't think your lib should repeat the request, that should be left to the consumer IMO. I haven't contacted autopilot about it so far, but good idea. |
Hi,
thanking for this package, great help!
Every now and then, autopilot returns an 500 Internal Server Error, which Guzzle turns into a ServerException. As the AutopilotManager api methods only catch and transform ClientException into AutopilotException, ServerException gets through to the calling code.
Shall I create a PR?
The text was updated successfully, but these errors were encountered: