Replies: 1 comment 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current state
To notice errors like #927 (or #1228 for that matter) or just 404/500 errors for feed updates the user has to be the web server admin respectively contact them.
Proposal
Count errors and show an error counter or a red dot at the feed at the right side here:
E.g. users could then know if a feed is broken, without having to look whether the last entry there is outdated or so.
Maybe the error counter should only be shown if >= x (with e.g. x=3) requests failed.
Technically
I guess you "just" need a huge "try/catch" block. As indicated above, it should cover as much as possible, i.e. connection errors, but also database errors etc.
Of course, the errors should be re-thrown, i.e. (so) they should also be logged into the default Nextcloud log IMHO.
Beta Was this translation helpful? Give feedback.
All reactions