core/homeassistant/components/microsoft
Dara Adib e2daffc117
Fix exception handling in Microsoft TTS (#92556)
pycsspeechtts uses the requests library, but Microsoft TTS previously
caught HTTPException from the standard library. This is changed to
catch requests.HTTPError and return `(None, None)` consistent with
other TTS integrations. This will properly raise HomeAssistantError
for display in the frontend.

Follow up to PR #92215 which adds tests for Microsoft TTS.
2023-05-25 11:29:13 +02:00
..
__init__.py
manifest.json
tts.py Fix exception handling in Microsoft TTS (#92556) 2023-05-25 11:29:13 +02:00