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 2000561605
commit 9dbc2bd146

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