diff options
Diffstat (limited to 'src/stores.ts')
-rw-r--r-- | src/stores.ts | 2 |
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; } |