fix(activitypub): handle any type of error when fetching Application actor from NodeInfo

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-12-22 18:19:04 +01:00
parent 0948cce83e
commit 9308c5399d
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -21,7 +21,7 @@ defmodule Mobilizon.Federation.NodeInfo do
{:ok, body} -> {:ok, body} ->
extract_application_actor(body) extract_application_actor(body)
{:error, :node_info_meta_http_error} -> {:error, _err} ->
nil nil
end end
end end