Skip to content

fix: replace silent exception swallowing with debug logging in tester…#18

Merged
billrichards merged 1 commit into
mainfrom
claude/fix-test-exception-handling-NKuOo
Apr 18, 2026
Merged

fix: replace silent exception swallowing with debug logging in tester…#18
billrichards merged 1 commit into
mainfrom
claude/fix-test-exception-handling-NKuOo

Conversation

@billrichards

Copy link
Copy Markdown
Owner

… classes

All bare except Exception: pass and except Exception: continue blocks in AccessibilityTester, FormTester, KeyboardTester, and MouseTester now capture the exception and emit a logger.debug() message (matching the WCAGComplianceTester pattern). Outer method-level handlers log which method failed; inner per-element loop handlers log which element step failed before continuing. This gives visibility into failures without breaking the overall test run.

… classes

All bare `except Exception: pass` and `except Exception: continue` blocks in
AccessibilityTester, FormTester, KeyboardTester, and MouseTester now capture
the exception and emit a logger.debug() message (matching the WCAGComplianceTester
pattern). Outer method-level handlers log which method failed; inner per-element
loop handlers log which element step failed before continuing. This gives
visibility into failures without breaking the overall test run.

https://claude.ai/code/session_01NcTcxLT21Zg123dBFd8fx9
@billrichards billrichards merged commit 81da111 into main Apr 18, 2026
15 checks passed
@billrichards billrichards deleted the claude/fix-test-exception-handling-NKuOo branch May 2, 2026 01:39
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.

2 participants