Too verbose FE errors #1029

Open
opened 2020-12-14 17:05:27 +00:00 by feld · 6 comments
Owner

image

Can we just show to the user "Error fetching notifications."?

![image](/attachments/921d3b1f-9f9d-47e9-bc33-a0e8913e9b02) Can we just show to the user "Error fetching notifications."?
247 KiB
Owner

It's currently just printing the error it caught, sometimes not useful, sometimes helps.

It's currently just printing the error it caught, sometimes not useful, sometimes helps.
Owner

we can make the "Error doing thing" more prominent, like using bold or putting it above the rest, but error message I believe IS important, because it actually allows debugging stuff, and it's not as scary as old-timey error codes BSOD had.

We can also add something like Tenko's meditation: "error message" there

we can make the "Error doing thing" more prominent, like using bold or putting it above the rest, but error message I believe IS important, because it actually allows debugging stuff, and it's not as scary as old-timey error codes BSOD had. We can also add something like `Tenko's meditation: "error message"` there
Author
Owner

Can we provide cleaner errors for non-developers? This looks like some broken scary nonsense to normies.

Can we provide cleaner errors for non-developers? This looks like some broken scary nonsense to normies.
Author
Owner

The error message is important to you, not to the users. Hide it behind a debug flag please.

The error message is important *to you*, not to the users. Hide it behind a debug flag please.
Author
Owner

Actually, just log the detailed error message to the javascript console. There's no need for it to be on the page.

Actually, just log the detailed error message to the javascript console. There's no need for it to be on the page.
Owner

I think it is logged there but i'm not sure. And it's important to users too. Imagine "something's wrong" indicator in your car instead of separate "low fuel" "generator failure" "oil pressure low". Having more or less readable error messages also means user can communicate the error to us or other people when looking for support.

I think it is logged there but i'm not sure. And it's important to users too. Imagine "something's wrong" indicator in your car instead of separate "low fuel" "generator failure" "oil pressure low". Having more or less readable error messages also means user can communicate the error to us or other people when looking for support.
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-fe#1029
No description provided.