mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
The last-attempt lookup runs on the zero-rows path, which is exactly the path a fresh account takes. When it threw, the whole nutrients read returned 500 — so an account with nothing to show got an error instead of an empty page, and the feature that exists to explain an empty surface was the thing preventing it from rendering. Wrapped so a failed ledger read degrades to the plain empty state and is recorded for the operator rather than shown to the person. The route's shape assertion now carries `lastAttempt: null` explicitly, so a field cannot join this response without someone deciding it should.