print(f"WARNING: record from '{domain}' has no '{mode}' or 'host' record: {record}")
if len(data["json"]["data"]) < 100:
- print("DEBUG: Reached end of JSON response:", domain)
+ print(f"DEBUG: Reached end of JSON response, domain='{domain}'")
break
# Continue with next row
print(f"DEBUG: Updating last_instance_fetch for domain='{domain}' ...")
instances.update_last_instance_fetch(domain)
- print("DEBUG: Returning peers[]:", type(peers))
+ print(f"DEBUG: Returning peers[]='{type(peers)}'")
return peers