From: Ariadne Conill Date: Fri, 18 Oct 2019 03:57:32 +0000 (+0000) Subject: activitypub: tag containment checks for better error tracing X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=bae96de273250a0054d22c132bd847ab83928ca3;p=akkoma activitypub: tag containment checks for better error tracing --- diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index d631e43c6..94c467b69 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -132,7 +132,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do {:ok, map} <- MRF.filter(map), {recipients, _, _} = get_recipients(map), {:fake, false, map, recipients} <- {:fake, fake, map, recipients}, - :ok <- Containment.contain_child(map), + {:containment, :ok} <- {:containment, Containment.contain_child(map)}, {:ok, map, object} <- insert_full_object(map) do {:ok, activity} = Repo.insert(%Activity{