mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-22 16:16:34 +00:00
Fix the ObjectValidator error matching
This commit is contained in:
parent
cf70656d14
commit
f9647a86ed
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ defmodule Pleroma.Workers.ReceiverWorker do
|
||||||
{:error, :origin_containment_failed} -> {:cancel, :origin_containment_failed}
|
{:error, :origin_containment_failed} -> {:cancel, :origin_containment_failed}
|
||||||
{:error, :already_present} -> {:cancel, :already_present}
|
{:error, :already_present} -> {:cancel, :already_present}
|
||||||
{:error, {:validate_object, _} = reason} -> {:cancel, reason}
|
{:error, {:validate_object, _} = reason} -> {:cancel, reason}
|
||||||
{:error, {:validate, _} = reason} -> {:cancel, reason}
|
{:error, {:error, {:validate, {:error, _changeset} = reason}}} -> {:cancel, reason}
|
||||||
{:error, {:reject, _} = reason} -> {:cancel, reason}
|
{:error, {:reject, _} = reason} -> {:cancel, reason}
|
||||||
{:signature, false} -> {:cancel, :invalid_signature}
|
{:signature, false} -> {:cancel, :invalid_signature}
|
||||||
{:error, "Object has been deleted"} = reason -> {:cancel, reason}
|
{:error, "Object has been deleted"} = reason -> {:cancel, reason}
|
||||||
|
|
Loading…
Reference in a new issue