]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Mon, 22 May 2023 03:28:19 +0000 (05:28 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 22 May 2023 03:28:19 +0000 (05:28 +0200)
- also log these errors

fba.py

diff --git a/fba.py b/fba.py
index 852795df8f3826c64baa9fb26adb79a9be62454d..1446844bcdce1df06ba1f3977f3f462b7a3c3cb6 100644 (file)
--- 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)