1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-26 01:25:24 +01:00

object fetcher: fix up error handling

This commit is contained in:
Ariadne Conill 2019-10-18 02:42:25 +00:00
parent af9aa8e358
commit 6f110fc04c

View File

@ -162,8 +162,8 @@ defmodule Pleroma.Object.Fetcher do
{:ok, %{status: code}} when code in [404, 410] -> {:ok, %{status: code}} when code in [404, 410] ->
{:error, "Object has been deleted"} {:error, "Object has been deleted"}
_ -> e ->
{:error, "Could not fetch by AP id"} {:error, e}
end end
end end