Skip to content

BUG: SaveEmailBody error ignored after fetching message body #1030

@andrinoff

Description

@andrinoff

Describe the bug

In main.go:1263, error from config.SaveEmailBody is discarded with _ =. A failed write means the cached body is missing the next time the message is opened, but the user gets no signal that caching was disabled.

Expected behavior

Log a warning at debug level when caching the message body fails (disk full, permission denied) so the regression in offline reading is visible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions