diff options
author | lain <lain@soykaf.club> | 2020-10-26 16:33:26 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-10-26 16:33:26 +0100 |
commit | de6d49c8cec84a530f2835313c95064ae8df3604 (patch) | |
tree | ff92b3580566b3c3a77929cb3d3820faa80c1e2c /lib | |
parent | 9542c5d0f4a9275a1f45182afbf1923a294cbdac (diff) | |
download | pleroma-de6d49c8cec84a530f2835313c95064ae8df3604.tar.gz pleroma-de6d49c8cec84a530f2835313c95064ae8df3604.zip |
ActivityPub: Add back debug call + explanation.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/activity_pub/activity_pub.ex | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index df18db603..13869f897 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -1378,6 +1378,11 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do {:ok, data} <- user_data_from_user_object(data) do {:ok, maybe_update_follow_information(data)} else + # If this has been deleted, only log a debug and not an error + {:error, "Object has been deleted" = e} -> + Logger.debug("Could not decode user at fetch #{ap_id}, #{inspect(e)}") + {:error, e} + {:error, {:reject, reason} = e} -> Logger.info("Rejected user #{ap_id}: #{inspect(reason)}") {:error, e} |