Skip to content

Conversation

@ssst0n3
Copy link
Member

@ssst0n3 ssst0n3 commented Jan 7, 2026

No description provided.

Adds a nil-check in `BasePrerequisite.WrapErr` so that a nil `err` returns
nil instead of wrapping. Panics with
`"BasePrerequisite.WrapErr called with nil receiver"` when the receiver
`p` is nil to catch incorrect usage early. Also updates the wrapped
error message from `"failed to check [%s], caused by %w"` to
`"failed to check [%s]: %w"` for a more conventional error format.
@ssst0n3 ssst0n3 self-assigned this Jan 7, 2026
@ssst0n3 ssst0n3 added the bug Something isn't working label Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants