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

feat: unify exception handling of requests library error and website … #147

Merged
merged 1 commit into from
Mar 23, 2024

Conversation

Zhaoyilunnn
Copy link
Collaborator

…execution error. close #142

  1. Move quafu.users.exceptions to quafu.exceptions
  2. Add an utility function to check errors specified by website service logic.
  3. Add an wrapper of requests library and handle exception there

Tests

pytest tests/quafu/tasks/tasks_test.py

@beizhansl beizhansl merged commit 9f63dd6 into ScQ-Cloud:master Mar 23, 2024
34 of 35 checks passed
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.

Better exception handling in task.py
2 participants