You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(feeds): remove feeds after 3 failed attempts
We have a bunch of feeds in our system that are failing in a loop.
Previously we did not notify the user when there was a failure, we just
logged it internally.
With this change, we will prepend errors to the email message body.
Further, if the feeds errors and doesn't return any feed items, we
increment a counter. 3 failed attempts and we remove the post and
notify the user.
logger.Error("could not fetch urls", "err", err, "attempts", post.Data.Attempts)
202
+
203
+
errBody:=fmt.Sprintf(`There was an error attempting to fetch your feeds (%d) times. After (3) attempts we remove the file from our system. Please check all the URLs and re-upload.
204
+
Also, we have centralized logs in our pico.sh TUI that will display realtime feed errors so you can debug.
0 commit comments