From 69de947995f165fcee9f469d7ae78d1a7272622e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Fri, 1 Dec 2023 00:27:22 +0100 Subject: [PATCH] fix locate test to not spam all the logs --- src/c3nav/routing/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c3nav/routing/api.py b/src/c3nav/routing/api.py index 95fba29d..995ccf78 100644 --- a/src/c3nav/routing/api.py +++ b/src/c3nav/routing/api.py @@ -179,7 +179,7 @@ class RoutingViewSet(ViewSet): address="d4:f9:8d:2d:0d:f1" ) except MeshNode.DoesNotExist: - raise + return None msg = node.last_messages[MeshMessageType.LOCATE_RANGE_RESULTS] locator = RangeLocator.load()