Transmogrifier: handle non-validate errors on incoming Delete activities

This should fix WithClauseError resulting in Oban jobs for processing
incoming deletes being retried without getting cancelled when those
deletes are MRF rejected.
This commit is contained in:
Mint 2024-07-18 18:00:40 +03:00
parent c45ee5fc82
commit 1f3ac66844
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
Transmogrifier: handle non-validate errors on incoming Delete activities

View File

@ -530,6 +530,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
else else
_ -> e _ -> e
end end
e -> {:error, e}
end end
end end