Skip to content

fix: unchecked error on ReadAll#851

Merged
andrinoff merged 1 commit intofloatpane:masterfrom
andrinoff:origin/fix/read-all
Apr 23, 2026
Merged

fix: unchecked error on ReadAll#851
andrinoff merged 1 commit intofloatpane:masterfrom
andrinoff:origin/fix/read-all

Conversation

@andrinoff
Copy link
Copy Markdown
Member

What?

Properly handle errors from ioutil.ReadAll in decodeAttachmentData.

Why?

Fixes #750 — unchecked errors caused silent failures when readers encounter errors.

ORIGINALLY DONE BY @gittihub-jpg, accidentally erased because of a contributors master branch

Signed-off-by: drew <me@andrinoff.com>
@andrinoff andrinoff requested a review from a team as a code owner April 23, 2026 07:58
Copy link
Copy Markdown
Member

@floatpanebot floatpanebot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @andrinoff! Please fix the following issues with your PR:

  • Title: Is too long (47 characters). The PR title must be strictly under 40 characters.

@github-actions github-actions Bot added the bug Something isn't working label Apr 23, 2026
@andrinoff andrinoff changed the title fix: unchecked error on ReadAll in decodePart() fix: unchecked error on ReadAll Apr 23, 2026
@andrinoff
Copy link
Copy Markdown
Member Author

/approve

@floatpanebot floatpanebot dismissed their stale review April 23, 2026 07:59

Formatting issues have been resolved. Thank you!

Copy link
Copy Markdown
Member

@floatpanebot floatpanebot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved on behalf of @andrinoff via /approve command.

@andrinoff andrinoff merged commit 2d9ee39 into floatpane:master Apr 23, 2026
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: Unchecked error on ReadAll in decodePart()

3 participants