Skip to content
Snippets Groups Projects
Verified Commit c55a926d authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Linting

parent d39edae0
No related branches found
No related tags found
No related merge requests found
......@@ -190,7 +190,11 @@ def update_domain_nodeinfo(domain):
now = timezone.now()
try:
nodeinfo = {"status": "ok", "payload": fetch_nodeinfo(domain.name)}
except (requests.RequestException, serializers.serializers.ValidationError, ValueError) as e:
except (
requests.RequestException,
serializers.serializers.ValidationError,
ValueError,
) as e:
nodeinfo = {"status": "error", "error": str(e)}
service_actor_id = common_utils.recursive_getattr(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment