diff options
author | Mark Felder <feld@feld.me> | 2023-12-29 01:04:05 -0500 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2023-12-29 01:04:05 -0500 |
commit | 4afe211e50466606c898e3fbd08b617413ef2e16 (patch) | |
tree | d135d44b2b8fafc85cbbb8d4e5d68233c1c94c4e | |
parent | 141702538b7ebdc501425b09928332d345c2b577 (diff) | |
download | pleroma-4afe211e50466606c898e3fbd08b617413ef2e16.tar.gz pleroma-4afe211e50466606c898e3fbd08b617413ef2e16.zip |
Return the full tuple from Tesla
-rw-r--r-- | lib/pleroma/web/activity_pub/publisher.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/activity_pub/publisher.ex b/lib/pleroma/web/activity_pub/publisher.ex index 282cc672a..e44e6eac1 100644 --- 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 |