we have been informed that it is preferably to not spam the logs with errors

This commit is contained in:
Laura Klünder 2023-12-02 03:53:47 +01:00
parent bd9e14440b
commit 70e9e1fb9f

View file

@ -179,7 +179,9 @@ class RoutingViewSet(ViewSet):
address="d4:f9:8d:2d:0d:f1"
)
except MeshNode.DoesNotExist:
return None
return Response({
"location": None
})
msg = node.last_messages[MeshMessageType.LOCATE_RANGE_RESULTS]
locator = RangeLocator.load()