Cancel the job if the signature is still invalid after a refetch of the public key

This commit is contained in:
Mark Felder 2023-12-10 12:55:41 -05:00
parent d417f73218
commit 223c1bac8d
1 changed files with 1 additions and 1 deletions

View File

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