mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
checkHealth previously ignored non-ok responses (e.g. 503), silently doing nothing when the server reported unhealthy. Add else branch to transition connected → disconnected on non-ok status. Add tests for connected → disconnected on fetch failure and offline → reconnected on health check success.