Blink1Control2
Blink1Control2 copied to clipboard
URL event source: make URL fetcher more fault-tolerant
Currently the URL fetcher will report an explicit failure if a URL fetch fails. This could happen for any number of network reasons (including host PC just waking from sleep). It corrects on the next successful fetch, but still, why does it fail to begin with, how can we ameliorate it?
Some things to try/test:
- Observe the "online"/"offline" events in Electron and only act when appropriate to do so
- Add simple retry feature on network-issue type of failures
- Create better status message for users
- Switch fetcher tool from
needletogot(simpler API, smaller install?, better failure modes)