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

Add Error Handling for Database Operations and GraphQL Response #786

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Ananya54321
Copy link

This PR enhances error handling for various database operations (migration, rollback, and reset) and for waiting for GraphQL responses. Key updates include:

  • Wrapped all asynchronous database operations in try-catch blocks to gracefully handle potential errors.
  • Added log messages for successful operations and detailed error messages for failures.
  • Ensured proper cleanup of database connections using the finally block.
  • Added error handling for waiting for GraphQL response in Playwright tests to catch and log any issues.
  • These changes improve the robustness and reliability of the database setup and testing process.

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