Skip to content

crane-serve: Preserve the anyhow context chain in TTS error responses - #116

Merged
lucasjinreal merged 2 commits into
lucasjinreal:mainfrom
cryptomilk:asn-fix
Aug 31, 2026
Merged

crane-serve: Preserve the anyhow context chain in TTS error responses#116
lucasjinreal merged 2 commits into
lucasjinreal:mainfrom
cryptomilk:asn-fix

Conversation

@cryptomilk

Copy link
Copy Markdown
Contributor

generate_audio/stream_tts converted the Tts trait's anyhow::Error to a String via Display ({e}/.to_string()), which only prints the outermost .context() message and silently drops the causal chain underneath it.

generate_audio/stream_tts converted the Tts trait's anyhow::Error to a
String via Display (`{e}`/`.to_string()`), which only prints the
outermost .context() message and silently drops the causal chain
underneath it.
@lucasjinreal
lucasjinreal merged commit e7823df into lucasjinreal:main Aug 31, 2026
4 checks passed
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