]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 11 Jun 2023 19:05:52 +0000 (21:05 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 11 Jun 2023 19:05:52 +0000 (21:05 +0200)
- DEBUG level is enough here, avoids double-logging

fba/networks/mastodon.py

index 2b57f81013af8045daed4417f4a820fd8fe2aad2..37cff0173ada29b031579bb8c8f6ae536f694165 100644 (file)
@@ -174,7 +174,7 @@ def fetch_blocks(domain: str, origin: str, nodeinfo_url: str):
         )
 
         if "error_message" in data:
-            print(f"WARNING: Was not able to fetch domain_blocks from domain='{domain}': status_code='{data['status_code']}',error_message='{data['error_message']}'")
+            # DEBUG: print(f"DEBUG: Was not able to fetch domain_blocks from domain='{domain}': status_code='{data['status_code']}',error_message='{data['error_message']}'")
             instances.update_last_error(domain, data)
             return
         elif "json" in data and "error" in data["json"]: