Commit 6179f9b
committed
Improve error handling in BlinkClient for non-MP4 videos
Enhance error reporting by attempting to read the response
content when the `contentType` is not `"video/mp4"`. If the
response content cannot be read, include the exception message
in the error details. This provides more context in the
`BlinkClientException` for debugging issues.1 parent 61a773c commit 6179f9b
1 file changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
275 | 290 | | |
276 | 291 | | |
277 | 292 | | |
| |||
0 commit comments