Return the full tuple from Tesla
This commit is contained in:
parent
141702538b
commit
4afe211e50
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user