mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-03-09 07:02:01 -05:00
[PR #103] [MERGED] [core] Improve Error Handling for Feed Edge Functions #104
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/feeddeck/feeddeck/pull/103
Author: @ricoberger
Created: 12/17/2023
Status: ✅ Merged
Merged: 12/17/2023
Merged by: @ricoberger
Base:
main← Head:improve-error-handling-for-feed-edge-functions📝 Commits (1)
b8f6774[core] Improve Error Handling for Feed Edge Functions📊 Changes
21 files changed (+1062 additions, -232 deletions)
View changed files
📝
supabase/functions/_cmd/worker/worker.ts(+41 -33)📝
supabase/functions/_shared/feed/feed.ts(+2 -1)📝
supabase/functions/_shared/feed/github.ts(+4 -4)📝
supabase/functions/_shared/feed/googlenews.ts(+7 -14)📝
supabase/functions/_shared/feed/lemmy.ts(+5 -14)📝
supabase/functions/_shared/feed/mastodon.ts(+3 -15)📝
supabase/functions/_shared/feed/medium.ts(+4 -14)📝
supabase/functions/_shared/feed/nitter.ts(+6 -19)📝
supabase/functions/_shared/feed/pinterest.ts(+5 -14)📝
supabase/functions/_shared/feed/podcast.ts(+3 -13)📝
supabase/functions/_shared/feed/reddit.ts(+3 -12)📝
supabase/functions/_shared/feed/rss.ts(+3 -14)📝
supabase/functions/_shared/feed/stackoverflow.ts(+6 -16)📝
supabase/functions/_shared/feed/tumblr.ts(+6 -15)➕
supabase/functions/_shared/feed/utils/errors.ts(+13 -0)➕
supabase/functions/_shared/feed/utils/getAndParseFeed.ts(+63 -0)📝
supabase/functions/_shared/feed/utils/index.ts(+5 -0)📝
supabase/functions/_shared/feed/x.ts(+2 -2)📝
supabase/functions/_shared/feed/youtube.ts(+8 -15)📝
supabase/functions/add-source-v1/index.ts(+50 -17)...and 1 more files
📄 Description
This commit improve the error handling for the edge function to add a new source and the worker, so that we get more insights why a request fails. A user will now also get a more detailed error why a source could not be added.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.