Files
lg-smtv-mcp/tests
kiskaadee aac00356a1
Core Architecture & Invariant CI / validate (push) Successful in 16s
fix(capture): map asyncssh.KeyImportError to SCREENSHOT_UNAVAILABLE
- src/lg_smtv_mcp/tv_core/capture.py: catch asyncssh.KeyImportError (which subclasses ValueError rather than asyncssh.Error) in AsyncSshCaptureTransport.read_and_remove() and CaptureClient.capture_frame() so encrypted/invalid SSH key errors surface as TvError(SCREENSHOT_UNAVAILABLE) and degrade gracefully on composite capture calls

- tests/test_capture.py: add test_capture_client_maps_key_import_error_to_screenshot_unavailable
2026-11-19 01:59:34 -05:00
..