Debug log mentions in text to be processed

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-04-20 09:00:30 +02:00
parent eebcd48447
commit f5791d1413
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -34,6 +34,7 @@ defmodule Mobilizon.Federation.ActivityStream.Converter.Utils do
@spec fetch_mentions([map()]) :: [map()] @spec fetch_mentions([map()]) :: [map()]
def fetch_mentions(mentions) when is_list(mentions) do def fetch_mentions(mentions) when is_list(mentions) do
Logger.debug("fetching mentions") Logger.debug("fetching mentions")
Logger.debug(inspect(mentions))
Enum.reduce(mentions, [], fn mention, acc -> create_mention(mention, acc) end) Enum.reduce(mentions, [], fn mention, acc -> create_mention(mention, acc) end)
end end