From 20e47add286a19be8a56ce6f795a9550cdd43bc4 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 8 Nov 2018 17:48:05 +0100 Subject: [PATCH] Add debug to special case Signed-off-by: Thomas Citharel --- lib/service/activity_pub/utils.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/service/activity_pub/utils.ex b/lib/service/activity_pub/utils.ex index 10bbd9d47..fdbb4be54 100644 --- a/lib/service/activity_pub/utils.ex +++ b/lib/service/activity_pub/utils.ex @@ -167,8 +167,9 @@ defmodule Mobilizon.Service.ActivityPub.Utils do |> Map.put("origin_comment_id", comment |> Comment.get_thread_id()) # Anthing else is kind of a MP - _ -> + object -> Logger.debug("Parent object is something we don't handle") + Logger.debug(inspect(object)) data end else @@ -176,7 +177,6 @@ defmodule Mobilizon.Service.ActivityPub.Utils do data end - require Logger Logger.info("comment data ready to be inserted") Logger.info(inspect(data))