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 treatment of exceptions raised by bigbluebutton-api-ruby #123

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

Comments

@mconf-daileon
Copy link


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


Several places in the gem where bigbluebutton-api-ruby is used, there's a "begin rescue" block to prevent raising exceptions in case of API failures.
This is good, since we want to treat the exceptions instead of raising them to the user, but at the same time most of these "begin rescue" are hiding the real exception, even for administrators. We should review all places where exceptions are caught and, at least, print the exception to the log files.

Also, API calls that result in errors (checksum errors, for instance) should not get to the user as a "checksum error", but as a more generic "API error", while still being logged as the full error.

@mconf-daileon mconf-daileon added this to the v2.1.0 milestone May 5, 2016
@daronco daronco modified the milestones: v2.1.0, v3.0.0 Jul 22, 2016
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

2 participants