matcha
matcha copied to clipboard
BUG: File write errors ignored in debug logger
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
- Set DEBUG_IMAGE_PROTOCOL_LOG env var
- Fill disk or remove write permissions
- 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
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.