logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 4afe211e50466606c898e3fbd08b617413ef2e16
parent 141702538b7ebdc501425b09928332d345c2b577
Author: Mark Felder <feld@feld.me>
Date:   Fri, 29 Dec 2023 01:04:05 -0500

Return the full tuple from Tesla

Diffstat:

Mlib/pleroma/web/activity_pub/publisher.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pleroma/web/activity_pub/publisher.ex b/lib/pleroma/web/activity_pub/publisher.ex @@ -126,7 +126,7 @@ defmodule Pleroma.Web.ActivityPub.Publisher do %{status: 403} -> {:discard, :forbidden} %{status: 404} -> {:discard, :not_found} %{status: 410} -> {:discard, :not_found} - _ -> {:error, response} + _ -> {:error, e} end end end