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