1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-22 07:52:43 +00:00

Add debug to special case

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2018-11-08 17:48:05 +01:00
parent 263c7d7de5
commit 20e47add28

View file

@ -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))