aboutsummaryrefslogtreecommitdiffstats
path: root/lib/locations.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/locations.ts')
-rw-r--r--lib/locations.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/locations.ts b/lib/locations.ts
index 660645a8..a70d57e1 100644
--- a/lib/locations.ts
+++ b/lib/locations.ts
@@ -55,8 +55,7 @@ export const getLocations = async () => {
await s("locations", dedup(locations));
await s("locations:since", `${new Date().toISOString().split(".")[0]}Z`);
} catch (e) {
- console.log(e);
- err("problem fetching locations", e);
+ err("problem fetching locations", e.message);
}
setTimeout(getLocations, 60000);