v0.2.4
Quieter, more useful telemetry
A small follow-up to v0.2.3, driven by its first day in the wild. No user-facing behaviour changes.
Changed
- A laptop sleeping is no longer reported as an app error. When the network drops mid-poll (sleep/wake, a Wi‑Fi handoff, a VPN flap), OpenTrade now records a single
broker_offlineevent when the outage begins and a singlebroker_online(with how long it lasted and how many polls it cost) when it ends — instead of oneapp_errorper failed poll. Genuine failures still report asapp_error, so that signal stays meaningful. - Network errors now carry their real code. Node's
fetchreports connection problems as a bareTypeError; the actual cause (ENOTFOUND,ECONNRESET,UND_ERR_CONNECT_TIMEOUT, …) is now captured — still just a bounded machine code, never a message or path. - Connect attempts are counted (
broker_connect_started, interactive vs. silent), so a Robinhood connection that never completes can be distinguished from one that was never tried. - A browser that fails to open for the Robinhood consent is now reported, rather than being indistinguishable from a consent the user abandoned.
Upgrade notes
No schema or data migration. Existing installs keep their Robinhood session.
Full Changelog: v0.2.3...v0.2.4