aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2019-10-18 03:57:32 +0000
committerAriadne Conill <ariadne@dereferenced.org>2019-10-18 14:50:10 +0000
commitbae96de273250a0054d22c132bd847ab83928ca3 (patch)
treeaf2f5ac5bcd9ab84dcb760f96fdf3dd8a366b1f1 /lib
parent7295a05ceee441311bf56513f5fe889908f59bd5 (diff)
downloadpleroma-bae96de273250a0054d22c132bd847ab83928ca3.tar.gz
activitypub: tag containment checks for better error tracing
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/activity_pub/activity_pub.ex2
1 files changed, 1 insertions, 1 deletions
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{