From a49bda5e4c479dda7bb63574d2297645ac4a5296 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 31 Mar 2022 10:45:19 +0200 Subject: [PATCH] Handle error from converting from AP to note when having error with actor Signed-off-by: Thomas Citharel --- lib/federation/activity_pub/transmogrifier.ex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/federation/activity_pub/transmogrifier.ex b/lib/federation/activity_pub/transmogrifier.ex index f4ed9a6be..55137ade5 100644 --- a/lib/federation/activity_pub/transmogrifier.ex +++ b/lib/federation/activity_pub/transmogrifier.ex @@ -91,6 +91,9 @@ defmodule Mobilizon.Federation.ActivityPub.Transmogrifier do # Object already exists {:ok, nil, comment} end + + {:error, err} -> + {:error, err} end end