SilentNotes icon indicating copy to clipboard operation
SilentNotes copied to clipboard

feature request: be more verbose about connection problems

Open pkoevesdi opened this issue 3 years ago • 2 comments

Since I have problems connecting to my nextcloud and an Apache WebDAV server, I'm a little bit left stranded with nothing more than the message "couldn't synchnonize, please try again later". I suggest to give more specific information on first sight (wrong url? wrong protocol?) and more information on demand (error code, error message to google for, error message to look up in the issues here,...), i.e. by clicking something to open a more verbose message or by getting pointed to a log file. In case, there is already some log, then consider this issue a lack in the documentation. ;-)

pkoevesdi avatar Jul 13 '22 07:07 pkoevesdi

You are right, the error message is very generic and there is no log implemented. The log is not used on purpose, to avoid leaking of sensitive information.

It is a balancing act between showing too much details of an exception, which are usually not understood by users and can contain sensitive information, and showing a too generic message. Maybe I should invest more time in generating specific localized error messages. I will keep this open, thank you for the suggestion!

martinstoeckli avatar Jul 13 '22 11:07 martinstoeckli

I understand the concerns about a log. Anyway a little bit more differentiation in the message would be nice, must not be too complicated, in my case a simple point into some direction to look for would already be nice. Like, make me recognizable:

  • could the server be connected
  • could the folder be found
  • was the ssl connection successful
  • are the credentials accepted (this is already there as I saw now, wrong credentials give me a different message)

This also could help unexperienced users to post a problem in a forum or google for it. Thank You!

pkoevesdi avatar Jul 14 '22 15:07 pkoevesdi