Clarify that this error is about a problem decoding the expected JSON
authorMark Felder <feld@FreeBSd.org>
Mon, 19 Mar 2018 18:18:52 +0000 (18:18 +0000)
committerMark Felder <feld@FreeBSd.org>
Mon, 19 Mar 2018 18:18:52 +0000 (18:18 +0000)
payload

lib/pleroma/web/activity_pub/activity_pub.ex

index e7484974e335c0b5d91717a65fc0ff8fe87aa74e..6a78a6bee74ed6455826461307917566bab25e9d 100644 (file)
@@ -301,7 +301,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
     {:ok, data} <- Poison.decode(body) do
       user_data_from_user_object(data)
     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