mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-02-12 17:15:17 +00:00
Revert "RemoteFetcherWorker: Make sure {:error, _} is returned on failure"
This reverts commit 6af6a9704d
.
This commit is contained in:
parent
f5fb4e2fa4
commit
a558def9da
2 changed files with 2 additions and 5 deletions
|
@ -22,11 +22,8 @@ defmodule Pleroma.Workers.RemoteFetcherWorker do
|
|||
{:error, :allowed_depth} ->
|
||||
{:discard, :allowed_depth}
|
||||
|
||||
{:error, _} = e ->
|
||||
e
|
||||
|
||||
e ->
|
||||
{:error, e}
|
||||
_ ->
|
||||
:error
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue