From 52ae6b603f1323efd1f5ac25cf9a7b36a80667fb Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 5 Sep 2024 18:08:36 -0500 Subject: [PATCH] Tweak logs --- src/state/geolocation.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/state/geolocation.tsx b/src/state/geolocation.tsx index 0ab7c21327..cd076d4a7c 100644 --- a/src/state/geolocation.tsx +++ b/src/state/geolocation.tsx @@ -67,7 +67,7 @@ export function beginResolveGeolocation() { if (geolocation) { device.set(['geolocation'], geolocation) emitGeolocationUpdate(geolocation) - logger.debug(`geolocation: resolved`, {geolocation}) + logger.debug(`geolocation: success`, {geolocation}) } else { // endpoint should throw on all failures, this is insurance throw new Error(`geolocation: nothing returned from initial request`) @@ -86,7 +86,7 @@ export function beginResolveGeolocation() { if (geolocation) { device.set(['geolocation'], geolocation) emitGeolocationUpdate(geolocation) - logger.debug(`geolocation: resolved`, {geolocation}) + logger.debug(`geolocation: success`, {geolocation}) } else { // endpoint should throw on all failures, this is insurance throw new Error(`geolocation: nothing returned from retries`)