Make sure we return the right format for oban
This commit is contained in:
parent
2fc25980d1
commit
b7dd739de1
1 changed files with 5 additions and 2 deletions
|
@ -34,8 +34,11 @@ defmodule Pleroma.Workers.RemoteFetcherWorker do
|
||||||
{:error, :id_mismatch} ->
|
{:error, :id_mismatch} ->
|
||||||
{:discard, :id_mismatch}
|
{:discard, :id_mismatch}
|
||||||
|
|
||||||
_ ->
|
{:error, _} = e ->
|
||||||
:error
|
e
|
||||||
|
|
||||||
|
e ->
|
||||||
|
{:error, e}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue