~bigbes/sr-ht-dolt: 11c622f3

web: stop printing browse errors to the reader

The overview rendered the browse layer's own error text into the page, under
"Could not read history: " — dolt internals and the store's path on our disk,
which nothing else on this surface discloses and which a reader can do nothing
with.

The page now carries a fixed sentence and the reason goes to the log with the
database id (slog + scribe.Err). The view field is a bool rather than a message,
so no error string can reach the template by being assigned to it later. The
empty-database state the page already reported ("No commits.") is untouched:
that is a fact about the database, not a failure.

Eugene Blikh <bigbes@gmail.com> — 2026-08-13 07:18:24 UTC

Commit 11c622f38dc9e15a1c23880fca39e2f6b1d8b1b1view raw patch

Parent(s): bee20506

3 changed file(s)

FileStatus+
web/handlers_repo.go M +26 -10
web/templates/overview.html M +2 -2
web/web_test.go M +63