Handle error when fetching object from tombstone

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-11-06 15:29:34 +01:00
parent 994797c475
commit 96ba48cdb0
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -201,6 +201,10 @@ defmodule Mobilizon.Federation.ActivityPub.Transmogrifier do
{:ok, entity} ->
Actions.Delete.delete(entity, Relay.get_actor(), false)
{:error, err} ->
Logger.warn("Error while fetching object from URL", error: inspect(err))
:error
end
end