From: Roland Häder Date: Mon, 22 May 2023 03:28:19 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d11e8cd22084497e41de2c701775df3023f0e209;p=fba.git Continued: - also log these errors --- 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)