matcha
matcha copied to clipboard
BUG: Missing error wrapping in daemon provider lookup
Describe the bug
In daemon/daemon.go:290, fmt.Errorf("no provider for account %s", accountID) is used instead of wrapping with %w or adding contextual information for upstream handling.
To reproduce
Try to start the daemon with an invalid account ID and inspect the error trace.
Expected behavior
The error should use %w (if wrapping an internal error) or structured logging to maintain the error chain.
This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.
Closing due to inactivity. Reopen if still relevant.