]> git.mxchange.org Git - fba.git/blobdiff - fba/networks/peertube.py
Continued:
[fba.git] / fba / networks / peertube.py
index 61c9e3903a972ff823a37b6431e60d002a0432f3..caf38653dc61e2edb4b0f20f0ff2705861086ac7 100644 (file)
@@ -34,6 +34,8 @@ def fetch_peers(domain: str) -> list:
 
     if blacklist.is_blacklisted(domain):
         raise Exception(f"domain='{domain}' is blacklisted but function is invoked.")
+    elif not instances.is_registered(domain):
+        raise Exception(f"domain='{domain}' is not registered but function is invoked.")
 
     # Init variables
     peers   = list()