Revert "RemoteFetcherWorker: Make sure {:error, _} is returned on failure"

This reverts commit 6af6a9704d.
This commit is contained in:
Mark Felder 2024-02-24 10:37:57 -05:00
parent f5fb4e2fa4
commit a558def9da
2 changed files with 2 additions and 5 deletions

View file

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