From 9dbc2bd1468cf8dd2130fb70e519fdfbba559eee Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 7 Nov 2018 18:31:44 +0100 Subject: [PATCH] Add error log to follow activity Signed-off-by: Thomas Citharel --- lib/service/activity_pub/transmogrifier.ex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/service/activity_pub/transmogrifier.ex b/lib/service/activity_pub/transmogrifier.ex index b0646b3b9..1153cf087 100644 --- a/lib/service/activity_pub/transmogrifier.ex +++ b/lib/service/activity_pub/transmogrifier.ex @@ -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