- don't reset during exceptions, maybe later they have fixed their instance
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)}'",