Make sure we return the right format for oban

This commit is contained in:
Floatingghost 2024-04-16 02:35:21 +01:00
parent 2fc25980d1
commit b7dd739de1
1 changed files with 5 additions and 2 deletions

View File

@ -34,8 +34,11 @@ defmodule Pleroma.Workers.RemoteFetcherWorker do
{:error, :id_mismatch} ->
{:discard, :id_mismatch}
_ ->
:error
{:error, _} = e ->
e
e ->
{:error, e}
end
end
end