Handle error when fetching object from tombstone
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
994797c475
commit
96ba48cdb0
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue