From a197207a51c5290ba02af4343c6b0b4c7cfdc5e0 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Sat, 14 May 2022 14:51:18 +0200 Subject: Fix MonthNumber typo --- src/stores.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/stores.ts') diff --git a/src/stores.ts b/src/stores.ts index cc3a080..1993205 100644 --- a/src/stores.ts +++ b/src/stores.ts @@ -165,6 +165,7 @@ async function updateEarthWeather(location=null) { yr_data["properties"]["timeseries"] = yr_data["properties"]["timeseries"].map(x => ({...x, "time": parseDateAsUTC(x.time)})); } catch (e) { + console.error(e); setUpdated(earth_weather, false, false); return; } @@ -191,6 +192,7 @@ async function updateSpaceWeather() { try { spaceWeather = await getSpaceWeather(); } catch (e) { + console.error(e); setUpdated(space_weather, false, false); return; } -- cgit v1.2.3