SolidOS/profile-pane

Add me to your friend list throws an internal error message

Closed this issue · 7 comments

Error displays as:
grafik
The console says:
Uncaught (in promise) Error: Fetcher: https://timeatest.solidcommunity.net:8443/IndividualChats/timeatest.solidcommunity.net:8443/2021/11/ Not Found

Why did you remove the error window. It is a great feature for user to know that the chat creation failed. The 500 is not nice, may be replaced by a better one.

Was it an ACL problem ?

The code was catching ALL uncaught errors from the displayed page. In this case, it was catching a chat error and displaying it under the Add me to your friend list button which is the wrong location for it anyway.
I am not sure the user should know about an uncaught error in the code anyhow. It is enough if the dev knows and looks in the console.

But the information was the chat was not created or is not working. Is this not of interest to the user ?

It might be of interest ...
Do you agree that displaying it under the Add me to your friend button does bot tell the user that it is a chat issue actually?
If we want to display such errors we need to discuss a solution for them. However, that is not part of this code.

The error is linked to the click on the button.

The concept and location is a good point for our brainstorming.

The error appears upon login for me. No need to click any button after logging in.
For the concept discussion, let's open a discussion or a new issue.

for further discussion see: SolidOS/solidos#91