mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
Return the full tuple from Tesla
This commit is contained in:
parent
141702538b
commit
4afe211e50
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ defmodule Pleroma.Web.ActivityPub.Publisher do
|
||||||
%{status: 403} -> {:discard, :forbidden}
|
%{status: 403} -> {:discard, :forbidden}
|
||||||
%{status: 404} -> {:discard, :not_found}
|
%{status: 404} -> {:discard, :not_found}
|
||||||
%{status: 410} -> {:discard, :not_found}
|
%{status: 410} -> {:discard, :not_found}
|
||||||
_ -> {:error, response}
|
_ -> {:error, e}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue