Skip to content

fix: add panic recovery#1209

Merged
andrinoff merged 1 commit intofloatpane:masterfrom
mavonx:fix/issue-981
May 3, 2026
Merged

fix: add panic recovery#1209
andrinoff merged 1 commit intofloatpane:masterfrom
mavonx:fix/issue-981

Conversation

@mavonx
Copy link
Copy Markdown
Contributor

@mavonx mavonx commented May 1, 2026

What?

Added panic recovery and proper error logging to the macOS sync goroutine in main.go.

Why?

The goroutine running config.SyncMacOSContacts() and theme.SyncWithMacOS() had no panic recovery. If either function panicked, it would silently crash the entire TUI process.

Closes #981

@mavonx mavonx requested a review from a team as a code owner May 1, 2026 17:31
@github-actions github-actions Bot added the bug Something isn't working label May 1, 2026
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 @Haroka-74! Please fix the following issues with your PR:

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

@mavonx mavonx changed the title fix: add panic recovery to macOS goroutine fix: add panic recovery May 1, 2026
@floatpanebot floatpanebot dismissed their stale review May 1, 2026 17:32

Formatting issues have been resolved. Thank you!

Copy link
Copy Markdown
Member

@andrinoff andrinoff left a comment

Choose a reason for hiding this comment

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

lgtm

@andrinoff
Copy link
Copy Markdown
Member

/approve

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 642cf3a into floatpane:master May 3, 2026
26 of 28 checks passed
@mavonx mavonx deleted the fix/issue-981 branch May 3, 2026 07:09
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: Goroutine in main.go:3620 has no panic recovery

3 participants