From d11e8cd22084497e41de2c701775df3023f0e209 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 22 May 2023 05:28:19 +0200 Subject: [PATCH] Continued: - also log these errors --- fba.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fba.py b/fba.py index 852795d..1446844 100644 --- a/fba.py +++ b/fba.py @@ -189,6 +189,10 @@ def fetch_wellknown_nodeinfo(domain: str) -> list: # NOISY-DEBUG: print("DEBUG: Found JSON nodeinfo():", len(res.json())) json = res.json() break + else: + print("WARNING: Unknown 'rel' value:", domain, link["rel"]) + else: + print("WARNING: nodeinfo does not contain 'links':", domain) except: print("WARNING: Failed fetching .well-known info:", domain) -- 2.39.5