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 c0532bcae0 - Show all commits

View file

@ -350,7 +350,7 @@ def get_object(id) do
{:error, {:content_type, content_type}} {:error, {:content_type, content_type}}
end end
else else
{:ok, %{status: 403}} -> {:ok, %{status: code}} when code in [401, 403] ->
{:error, :forbidden} {:error, :forbidden}
{:ok, %{status: code}} when code in [404, 410] -> {:ok, %{status: code}} when code in [404, 410] ->