Commit afa86ee
committed
fix(audience-sdk): log instead of swallow on consumer callbacks; honour CancellationToken (SDK-256)
- Three bare catch { } blocks (NotifyErrorCallback, ParseRejectedCount, NotifyError) previously
absorbed every exception type, including IL2CPP MissingMethodException / TypeLoadException from
stripping. Replace each with catch (Exception ex) { Log.Warn(...) } so the failure surfaces in
test logs without crashing the SDK.
- ParseRejectedCount accepts and honours a CancellationToken propagated from SendBatchAsync, so a
stalled HTTP body read can be cancelled instead of holding the cell open until the 60-min timeout.1 parent 8d8fa8d commit afa86ee
2 files changed
Lines changed: 12 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
| 429 | + | |
430 | 430 | | |
431 | | - | |
| 431 | + | |
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
283 | 287 | | |
284 | 288 | | |
285 | | - | |
| 289 | + | |
286 | 290 | | |
| 291 | + | |
287 | 292 | | |
288 | 293 | | |
289 | 294 | | |
| |||
332 | 337 | | |
333 | 338 | | |
334 | 339 | | |
335 | | - | |
| 340 | + | |
336 | 341 | | |
337 | | - | |
338 | | - | |
| 342 | + | |
339 | 343 | | |
340 | 344 | | |
341 | 345 | | |
| |||
0 commit comments