Skip to content

Issue : Missing Error Handling in chrome.storage.sync.set #23

@PrinceSajjadHussain

Description

@PrinceSajjadHussain

The chrome.storage.sync.set calls in both background.js do not check for errors. If the storage operation fails (e.g., due to exceeding quota), the code will not be aware of the failure, potentially leading to unexpected behavior or data loss. Consider adding chrome.runtime.lastError check in the callback function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions