Handle :http_not_found as an error when deleting an object
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
7b2eb82d6f
commit
bb86ca5413
|
@ -637,6 +637,10 @@ defmodule Mobilizon.Federation.ActivityPub.Transmogrifier do
|
||||||
{:error, err} ->
|
{:error, err} ->
|
||||||
Logger.debug(inspect(err))
|
Logger.debug(inspect(err))
|
||||||
{:error, err}
|
{:error, err}
|
||||||
|
|
||||||
|
{:error, :http_not_found, err} ->
|
||||||
|
Logger.debug(inspect(err))
|
||||||
|
{:error, err}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue