Handle :http_not_found as an error when deleting an object

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-11-07 19:05:20 +01:00
parent 7b2eb82d6f
commit bb86ca5413
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -637,6 +637,10 @@ defmodule Mobilizon.Federation.ActivityPub.Transmogrifier do
{:error, err} ->
Logger.debug(inspect(err))
{:error, err}
{:error, :http_not_found, err} ->
Logger.debug(inspect(err))
{:error, err}
end
end
end