Commit 0ac90d9
fix: guard whisper_detail error path against non-JSON responses
Handle empty body and non-JSON error responses consistently with
whisper_status, raising LLMWhispererClientException instead of
letting json.JSONDecodeError propagate.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 258b396 commit 0ac90d9
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
357 | 367 | | |
358 | 368 | | |
359 | 369 | | |
| |||
0 commit comments