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

Improve the error shown to users on invalid API call responses #120

Open
mconf-daileon opened this issue May 4, 2016 · 0 comments
Open

Comments

@mconf-daileon
Copy link


Author Name: Leonardo Daronco (Leonardo Daronco)
Original Redmine Issue: 1849, http://dev.mconf.org/redmine/issues/1849


When the gem makes a request to the web conference server that comes with an invalid response (not an XML or an invalid XML), it will raise an exception similar to:

Impossible to convert XML to hash. Error: Missing end tag for 'hr' (got "body") Line: 6 Position: 168 Last 80 unconsumed characters: 

This is ok for the application to know and log, but it's a bad message to show to users.
Users should receive a more generic message similar to: "the web conference server is not responding properly, check the configurations or try again later".

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

No branches or pull requests

1 participant