Do not retry fetching deleted objects

This commit is contained in:
Mark Felder 2023-12-09 17:43:54 -05:00
parent 4039106500
commit 82724f6664
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ defp process_errors(errors) do
{:error, {:error, {:validate, reason}}} -> {:cancel, reason}
{:error, {:reject, reason}} -> {:cancel, reason}
{:signature, false} -> {:error, :invalid_signature}
{:error, {:error, reason = "Object has been deleted"}} -> {:cancel, reason}
e -> e
end
end