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

Nicer error message when database server is offline #22013

Open
schiessle opened this issue Jul 27, 2020 · 7 comments
Open

Nicer error message when database server is offline #22013

schiessle opened this issue Jul 27, 2020 · 7 comments
Labels
1. to develop Accepted and waiting to be taken care of enhancement

Comments

@schiessle
Copy link
Member

schiessle commented Jul 27, 2020

At the moment you get a plain white error message in case the database server is offline:

image

A user just ask me if we couldn't detect it and create a more meaningful error message?

@schiessle schiessle added enhancement 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Jul 27, 2020
@szaimen
Copy link
Contributor

szaimen commented Jun 8, 2021

cc @nextcloud/designers

@szaimen szaimen added 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Jun 8, 2021
@nimishavijay
Copy link
Member

I have seen something with a similar message but not plain white text. Is this something different?

image

But in both cases, I think we can definitely put out more verbose error messages. Would it be possible to detect what sort of error it is from the log like the user said?

@skjnldsv
Copy link
Member

skjnldsv commented Jun 8, 2021

I think the issue is that the DB not being available prevent us from displaying such nice views 🤔 @ChristophWurst @nickvergessen ?

@nickvergessen
Copy link
Member

yeah, it crashes way too early.

@tcitworld
Copy link
Member

Apart from the views maybe a more specific message can be shown in some cases?

@skjnldsv
Copy link
Member

skjnldsv commented Jun 8, 2021

We could create a simple php template with a simple template/design and send all of our errors to this.
A bit higher up ?

@ChristophWurst
Copy link
Member

Apart from the views maybe a more specific message can be shown in some cases?

I would say we can do for debug mode, but generally the internal error details should not be leaked to the users. cc @LukasReschke

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement
Projects
None yet
Development

No branches or pull requests

7 participants