Commit 36d10ba
committed
fix(chat): replace ex.Message with generic client-safe error in streaming responses
Exception details are now only in server logs (already logged via LogChatStreamErrorBeforeResponseStarted
and LogChatStreamErrorMidStream). The errorCode from ChatBackendUnavailableException is still
forwarded as it is a controlled application-level value.1 parent 5b05fa1 commit 36d10ba
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
| 281 | + | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
| 288 | + | |
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| |||
0 commit comments