From 4114afffab75b4b3102ba9db9287f4ea796a7a62 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 27 Jul 2023 21:30:14 +0200 Subject: [PATCH] Continued: - don't reset during exceptions, maybe later they have fixed their instance --- fba/http/nodeinfo.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/fba/http/nodeinfo.py b/fba/http/nodeinfo.py index 36220bd..9507844 100644 --- a/fba/http/nodeinfo.py +++ b/fba/http/nodeinfo.py @@ -59,9 +59,6 @@ def fetch_nodeinfo(domain: str, path: str = None) -> dict: except network.exceptions as exception: logger.warning("Exception '%s' during checking CSRF (nodeinfo,%s) - EXIT!", type(exception), __name__) instances.set_last_error(domain, exception) - instances.set_software(domain, None) - instances.set_detection_mode(domain, None) - instances.set_nodeinfo_url(domain, None) return { "status_code" : 500, "error_message": f"exception[{type(exception)}]='{str(exception)}'", -- 2.39.5