logger.debug("domain='%s' - CALLED!", domain)
domain_helper.raise_on(domain)
+ if not instances.is_registered(domain):
+ raise Exception(f"domain='{domain}' is not registered but function is invoked.")
+
blockdict = list()
rows = None
+
try:
logger.debug("Fetching nodeinfo: domain='%s'", domain)
rows = nodeinfo.fetch(domain, update_mode=False)
logger.debug("domain='%s' - CALLED!", domain)
domain_helper.raise_on(domain)
+ if not instances.is_registered(domain):
+ raise Exception(f"domain='{domain}' is not registered but function is invoked.")
+
logger.debug("Fetching mastodon blocks from domain='%s'", domain)
doc = None
for path in ["/instance/about/index.html"]: