Handle failed fetches a bit better #743

Merged
floatingghost merged 34 commits from failed-fetch-processing into develop 2024-04-19 11:25:14 +00:00
Showing only changes of commit 132036f951 - Show all commits

View file

@ -18,6 +18,9 @@ def perform(%Job{args: %{"op" => "fetch_remote", "id" => id} = args}) do
{:error, reason = "Object fetch has been denied"} ->
{:cancel, reason}
{:error, reason = "Object has been deleted"} ->
{:cancel, reason}
_ ->
:error
end