Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error handling in the sync process. #248

Open
iamdharmesh opened this issue Nov 26, 2024 · 0 comments
Open

Improve error handling in the sync process. #248

iamdharmesh opened this issue Nov 26, 2024 · 0 comments
Labels
priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: enhancement The issue is a request for an enhancement.

Comments

@iamdharmesh
Copy link
Member

Currently, when the sync process runs, if any error occurs in the Square API request, the sync fails (except in some cases, such as a 429 error). For example, if the upsert catalog API request to Square fails due to an issue with one product in the batch, the entire sync is marked as failed. This issue has been created to improve error handling, allow the sync process to continue, and provide an alert for the product with the error, instead of failing the entire sync.

The Square API currently does not provide detailed information about products with invalid data, so we need to figure out how to identify the problematic product and skip it.

@iamdharmesh iamdharmesh added the type: enhancement The issue is a request for an enhancement. label Nov 26, 2024
@vikrampm1 vikrampm1 added the priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: enhancement The issue is a request for an enhancement.
Projects
None yet
Development

No branches or pull requests

2 participants