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:
parent
0948cce83e
commit
9308c5399d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue