matcha icon indicating copy to clipboard operation
matcha copied to clipboard

BUG: Error wrapping loses original context in sender

Open andrinoff opened this issue 7 months ago • 2 comments

Describe the bug Error handling at sender/sender.go:234 creates new error without wrapping original. Loses critical debugging info.

To reproduce

  1. Fail certificate parse with detailed error
  2. Original error discarded
  3. Generic "failed to parse" returned

Expected behavior Use fmt.Errorf("%w", err) to wrap original error

Matcha version master

OS All

Additional context File: sender/sender.go line 234 Debugging harder without context

andrinoff avatar Apr 21 '26 14:04 andrinoff

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.

floatpanebot avatar May 22 '26 06:05 floatpanebot

Closing due to inactivity. Reopen if still relevant.

floatpanebot avatar Jun 04 '26 19:06 floatpanebot