Open NWuensche opened 5 years ago
This is a server side issue as the error is a 500. I guess your wallabag instance times out when adding the long article.
However, should the error really be shown to the user? Shouldn't it be handled like in #728 ? If so, I will fix it.
How is the message displayed? Via toast? I like if we have a more understandable user message, but the original message should not be left out. There some users out there, who understand what http code 500 means. Complicated question…
No, it's displayed as a notification. If this is not the right name, I mean these ones: https://developer.android.com/training/notify-user/build-notification . Maybe one should leave the title of the notification as "Server Error", but change the text into "Error while syncing with the server (HTTP 500)"?
Sorry, i fear this message would not be very expressive, too. Syncing with the server does not express that the app is not guilty for this behavior and it is the server's fault that syncing failed.
Issue details
When adding a big website (i.e. https://norvig.com/big.txt ) to wallabag, I get a "Server error" notification with the exception
com.di72nn.stuff.wallabag.apiwrapper.exceptions.UnsuccessfulResponseException
and the text "HTTP response: 500 Internal Server Error"Duplicate?
Have you searched the issues of this repository if your issue is already known? yes
Actual behaviour
See the issue details.
Expected behaviour
There should be a notification that clarifies what went wrong, not an exception. Maybe there shouldn't be a notification at all.
Steps to reproduce the issue
Environment details
Logs
wallabag server
Please paste relevant wallabag server logs here (from file
<wallabag>/var/logs/prod.log
):Web server
Please paste relevant web server logs (e.g. from nginx, Apache, …) here: Nothing was written in var/logs/prod.log. NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here!
Your experience with wallabag Android app
Have you had any luck using wallabag Android app before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) Yup, works super fine when it is set up :) Never had any critical issues.