Skip to content

Fix: Inventory bug and add error handling #31

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

seer-by-sentry[bot]
Copy link

Fixes REACT-5A4. The issue was that: Backend process_order's tempInventory reference bug corrupts global inventory, causing unhandled exceptions, leading to Flask 500s without CORS headers, and frontend TypeError: Failed to fetch.

  • Fixes a bug where the global Inventory was being modified directly by process_order.
  • Adds error handling to the process_order function to catch exceptions and report them to Sentry.

This fix was generated by Seer in Sentry, triggered by [email protected]. 👁️ Run ID: 195280

Not quite right? Click here to continue debugging with Seer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant