Skip to content

BUG: Unchecked file close error in image protocol debugger #697

@andrinoff

Description

@andrinoff

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions