Add error log to follow activity

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2018-11-07 18:31:44 +01:00
parent 0343a408f4
commit 4afd657338

View File

@ -112,7 +112,10 @@ defmodule Mobilizon.Service.ActivityPub.Transmogrifier do
# Actors.follow(follower, followed)
{:ok, activity}
else
_e -> :error
e ->
Logger.error("Unable to handle Follow activity")
Logger.error(inspect(e))
:error
end
end