Skip to content

Show wrapped error detail when a user-facing message is empty - #66

Open
puncsky wants to merge 1 commit into
render-oss:mainfrom
puncsky:fix/show-wrapped-error-detail-20261029
Open

puncsky wants to merge 1 commit into
render-oss:mainfrom
puncsky:fix/show-wrapped-error-detail-20261029

Conversation

@puncsky

@puncsky puncsky commented Oct 30, 2026

Copy link
Copy Markdown

Summary

When UserFacingError has no Message but has an underlying Err, show that error's message. Explicit friendly messages retain precedence.

Motivation

Interactive datastore child failures can reach a titled error panel with an empty body even though the process failure detail is present in the error object.

How to verify

go test ./cmd/... ./pkg/... ./internal/...
  • All 57 development packages pass on the candidate.
  • View tests cover explicit messages, wrapped causes, title-only errors and ordinary errors; datastore wrapper tests verify underlying process detail reaches the panel.
  • New-code lint is clean against c31e586e; full lint on unmodified main reports 92 pre-existing findings with the pinned golangci-lint v2.14.0.

Release notes

Interactive error panels show the underlying error when no user-facing message was supplied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant