]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Thu, 27 Jul 2023 19:30:14 +0000 (21:30 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 27 Jul 2023 19:30:14 +0000 (21:30 +0200)
- don't reset during exceptions, maybe later they have fixed their instance

fba/http/nodeinfo.py

index 36220bd74a14df33e1a50ef767c7dda6fd1d0277..9507844d15c41d292e12c15980b556767a032bc1 100644 (file)
@@ -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)}'",