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.
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_LOGenabled.Expected behavior
Proper error handling for
f.Close()to prevent silent data loss in debug mode.