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:
@@ -21,7 +21,7 @@ defmodule Mobilizon.Federation.NodeInfo do
|
||||
{:ok, body} ->
|
||||
extract_application_actor(body)
|
||||
|
||||
{:error, :node_info_meta_http_error} ->
|
||||
{:error, _err} ->
|
||||
nil
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user