Skip to content

Conversation

@olsh
Copy link
Owner

@olsh olsh commented Sep 10, 2025

  • Made message listener async to properly catch Promise errors
  • Changed from Promise chains to await pattern for better error handling
  • Added block scoping for const declarations in switch cases
  • Remove AGENTS.md from repository tracking
  • Add Claude Code files (CLAUDE.md, .claude/, AGENTS.md) to .gitignore

The try/catch block can now properly handle errors from async functions like getFeeds, getSavedFeeds, markAsRead, toggleSavedFeed, openFeedlyTab, and getAccessToken.

Fixes #306

- Made message listener async to properly catch Promise errors
- Changed from Promise chains to await pattern for better error handling
- Added block scoping for const declarations in switch cases
- Remove AGENTS.md from repository tracking
- Add Claude Code files (CLAUDE.md, .claude/, AGENTS.md) to .gitignore

The try/catch block can now properly handle errors from async functions
like getFeeds, getSavedFeeds, markAsRead, toggleSavedFeed, openFeedlyTab,
and getAccessToken.

Fixes #306
@olsh olsh merged commit 642ee8e into manifest-v3 Sep 10, 2025
9 checks passed
@olsh olsh deleted the fix-background-error-handling-issue-306 branch September 20, 2025 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants