matcha icon indicating copy to clipboard operation
matcha copied to clipboard

BUG: File write errors ignored in debug logger

Open andrinoff opened this issue 7 months ago • 1 comments

Describe the bug Debug logger at view/html.go:256-261 ignores file write and close errors. Uses pattern _, _ = f.WriteString(msg) and _ = f.Close() which silently fails.

To reproduce

  1. Set DEBUG_IMAGE_PROTOCOL_LOG env var
  2. Fill disk or remove write permissions
  3. Debug output silently lost

Expected behavior Log errors or use defer with error check

Matcha version master

OS All

Additional context File: view/html.go lines 256-261

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