Clarify that this error is about a problem decoding the expected JSON

payload
This commit is contained in:
Mark Felder 2018-03-19 18:18:52 +00:00
parent 96cfc67e05
commit 16d102c153

View file

@ -301,7 +301,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
{:ok, data} <- Poison.decode(body) do {:ok, data} <- Poison.decode(body) do
user_data_from_user_object(data) user_data_from_user_object(data)
else else
e -> Logger.error("Could not user at fetch #{ap_id}, #{inspect(e)}") e -> Logger.error("Could not decode user at fetch #{ap_id}, #{inspect(e)}")
end end
end end