matcha
matcha copied to clipboard
BUG: Unchecked file close error in image protocol debugger
Describe the bug
In view/html.go:257, _ = f.Close() explicitly ignores potential flush/close errors on the log file.
To reproduce
Run with DEBUG_IMAGE_PROTOCOL_LOG enabled.
Expected behavior
Proper error handling for f.Close() to prevent silent data loss in debug mode.
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.