From: Roland Häder Date: Sun, 11 Jun 2023 19:05:52 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=64671faf274b54dc9c12e27768198e425de972a0;p=fba.git Continued: - DEBUG level is enough here, avoids double-logging --- diff --git a/fba/networks/mastodon.py b/fba/networks/mastodon.py index 2b57f81..37cff01 100644 --- a/fba/networks/mastodon.py +++ b/fba/networks/mastodon.py @@ -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"]: