You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5fc70db
Browse filesBrowse the repository at this point in the historyBrowse files
fix(hyperframes-media): surface the real HeyGen TTS error instead of a generic message
synthesizeHeygen's catch block collapsed every failure into a bare
{ ok: false }, discarding heygenJSON's own thrown error - which already
carries the HTTP status and response body (e.g. "HeyGen POST
/voices/speech -> HTTP 402\nplan_upgrade_required..."). Callers only ever
saw "synthesis failed (HeyGen request/transcode error)" or "TTS failed -
omitted", with no way to tell a free-plan 402 from a transient 500,
forcing a manual REST call just to diagnose. Now threads an `error` field
through synthesizeOne's return value from every heygen failure branch
(missing audio_url, failed audio download, failed transcode, and the
underlying HTTP error) and both callers (heygen-tts.mjs, audio.mjs)
surface it instead of the generic fallback.
0 commit comments