:validate_object is not a real error returned from anywhere

This commit is contained in:
Mark Felder 2024-08-28 17:45:31 -04:00
commit 380a6a6df3
2 changed files with 0 additions and 6 deletions

View file

@ -74,7 +74,6 @@ defmodule Pleroma.Workers.ReceiverWorker do
# HTTP Sigs
{:signature, false} -> {:cancel, :invalid_signature}
{:error, :origin_containment_failed} -> {:cancel, :origin_containment_failed}
{:error, {:validate_object, _} = reason} -> {:cancel, reason}
{:error, {:side_effects, {:error, :no_object_actor}} = reason} -> {:cancel, reason}
{:error, _} = e -> e
e -> {:error, e}