Remove unnecessary error match in ReceiverWorker
This commit is contained in:
parent
e2cdae2c88
commit
990b2058df
1 changed files with 0 additions and 1 deletions
|
@ -58,7 +58,6 @@ def timeout(_job), do: :timer.seconds(5)
|
|||
|
||||
defp process_errors(errors) do
|
||||
case errors do
|
||||
{:unknown_delete, true} -> {:cancel, "Delete from unknown actor"}
|
||||
{:error, :origin_containment_failed} -> {:cancel, :origin_containment_failed}
|
||||
{:error, :already_present} -> {:cancel, :already_present}
|
||||
{:error, {:validate_object, _} = reason} -> {:cancel, reason}
|
||||
|
|
Loading…
Reference in a new issue