Skip to content

fix(#49): log warnings instead of silently swallowing backend property errors - #101

Merged
Manideep3969 merged 1 commit into
mainfrom
fix/issue-49-silent-exception-swallowing
Aug 20, 2026
Merged

fix(#49): log warnings instead of silently swallowing backend property errors#101
Manideep3969 merged 1 commit into
mainfrom
fix/issue-49-silent-exception-swallowing

Conversation

@Manideep3969

Copy link
Copy Markdown
Owner

Replaces silent except: pass blocks in get_backend_properties with logger.warning() calls. Adds 2 regression tests. All 349 tests pass.

…y errors

get_backend_properties used bare except: pass for T1, T2, and
readout_error extraction, making it impossible to debug empty
DeviceCharacterization objects.

Fix: Replace silent except: pass with logger.warning() calls that
report which qubit property failed extraction. Add 2 regression tests.
@Manideep3969
Manideep3969 merged commit 530248e into main Aug 20, 2026
4 checks passed
@Manideep3969
Manideep3969 deleted the fix/issue-49-silent-exception-swallowing branch August 20, 2026 06:22
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