aboutsummaryrefslogtreecommitdiff
path: root/src/stores.ts
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2022-05-14 14:51:18 +0200
committerJakob Stendahl <jakob.stendahl@outlook.com>2022-05-14 14:51:18 +0200
commita197207a51c5290ba02af4343c6b0b4c7cfdc5e0 (patch)
treed8f526c2e8d473208053c83f17ada419f0fb1294 /src/stores.ts
parenteb4ca98bf941c9ec3dc0d7372e2762fb6fbb669d (diff)
downloadAurora-data-a197207a51c5290ba02af4343c6b0b4c7cfdc5e0.tar.gz
Aurora-data-a197207a51c5290ba02af4343c6b0b4c7cfdc5e0.zip
Fix MonthNumber typo
Diffstat (limited to 'src/stores.ts')
-rw-r--r--src/stores.ts2
1 files changed, 2 insertions, 0 deletions
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;
}