Skip to content
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

Handle HTTP Errors when making requests to external Adobe Connect endpoint #6

Open
hderms opened this issue Nov 21, 2013 · 0 comments

Comments

@hderms
Copy link

hderms commented Nov 21, 2013

In Service#request we make an HTTP get request via client.get(). We handle the response returned via AdobeConnect::Response. I think it would be useful to catch HTTP Errors before passing the information along to Response. In particular, we've encountered situations where an adobe connect server becomes unresponsive under extreme load, and being able to handle this reliably would be a huge boon.

In the event Net::HTTP encounters an error, the response returned will be of type Net::HTTPServerError. Perhaps we can raise an Adobe Connect specific exception in this case to enform any consumers of the API that they might need to retry the request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant