Skip to content

feat: Add error handling, manifest validation, and debug mode#81

Open
oleksiijko wants to merge 2 commits intoCAKE-com:masterfrom
oleksiijko:feature/sdk-improvements
Open

feat: Add error handling, manifest validation, and debug mode#81
oleksiijko wants to merge 2 commits intoCAKE-com:masterfrom
oleksiijko:feature/sdk-improvements

Conversation

@oleksiijko
Copy link
Copy Markdown

  • Improved error handling with detailed logging in AddonService and HTTP listener
  • Added manifest validation before sync (catches unsupported fields like listingIcon)
  • Added --debug flag for verbose request/response logging
  • Added typed modal state reader helper (createModalStateReader)
  • Runtime manifest validation (validates on file change, ignores invalid, keeps app running)

- Improved error handling with detailed logging in AddonService and HTTP listener
- Added manifest validation before sync (catches unsupported fields like listingIcon)
- Added --debug flag for verbose request/response logging
- Added typed modal state reader helper (createModalStateReader)
- Runtime manifest validation (validates on file change, ignores invalid, keeps app running)
Remove UNSUPPORTED_FIELDS list and treat any field not in SUPPORTED_ROOT_FIELDS as an error instead of a warning.
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.

1 participant