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

Provide a nice error message on connection problems to etherpad lite server #26

Open
abias opened this issue May 21, 2015 · 1 comment

Comments

@abias
Copy link
Contributor

abias commented May 21, 2015

Hi,

if the Moodle plugin can't establish a connection to the etherpad lite server or does not get a valid response on opening the view.php page, the user is presented a general error page with a technical error message like "Empty or No Response from the server" or "JSON response could not be decoded" which leaves the user in a not understandable dead end situation with the only possibiilty to go back to his MyMoodle page (respectively the Moodle frontpage depending on the Moodle system configuration).

This is caused by the fact that you are throwing exceptions for connection problems, but do not catch and handle them properly in your plugin.

For connection problems, I would like to see a nicely styled and understandable error message which informs the user that there are - probably temporarily - problems with the etherpad lite server, asks him to come back later and redirects him back to the course overview page.

Thanks,
Alex

@tjwelde
Copy link
Collaborator

tjwelde commented May 22, 2015

That's a good idea.
Are you already working on this?
If not, then I would look after this.

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