From de8433cdbb85ca68a18b6a998b761bb4b975a725 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sun, 6 Nov 2022 11:33:09 +0100 Subject: [PATCH] Add error details in error logging in Activity Update handler Signed-off-by: Thomas Citharel --- lib/federation/activity_pub/actions/update.ex | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/federation/activity_pub/actions/update.ex b/lib/federation/activity_pub/actions/update.ex index 9c0f860a..c58032fb 100644 --- a/lib/federation/activity_pub/actions/update.ex +++ b/lib/federation/activity_pub/actions/update.ex @@ -36,8 +36,7 @@ defmodule Mobilizon.Federation.ActivityPub.Actions.Update do {:ok, activity, entity} {:error, err} -> - Logger.error("Something went wrong while creating an activity") - Logger.debug(inspect(err)) + Logger.error("Something went wrong while creating an activity", err: inspect(err)) {:error, err} end end