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 try/except when creating backend obj #2048

Merged
merged 10 commits into from
Dec 5, 2024

Conversation

kt474
Copy link
Member

@kt474 kt474 commented Nov 20, 2024

Summary

This also makes it possible to view backends (service.backends()) in staging which used to always raise errors.

Details and comments

Fixes #1924

@kt474 kt474 added the Changelog: Bugfix Include in the Fixed section of the changelog label Nov 21, 2024
@kt474 kt474 requested a review from ptristan3 December 3, 2024 16:24
@ptristan3
Copy link
Collaborator

Can we add some tests to verify the try/except works as expected?

@kt474 kt474 merged commit 5933153 into Qiskit:main Dec 5, 2024
19 checks passed
@kt474 kt474 deleted the catch-error-create-backend branch December 5, 2024 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Bugfix Include in the Fixed section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

QiskitRuntimeService.backends fails when a backend has a bad configuration
2 participants