Commit 9985194
fix(audience): narrow BuildPayload catch to IOException
Addresses review feedback on PR #691. The previous catch (Exception) in
BuildPayload swallowed every failure as if it were the expected
file-disappeared race. Permissions errors (UnauthorizedAccessException)
and similar non-IO faults were silently dropped, masking real problems.
Narrowing to IOException keeps the file-disappeared / locked / path-
gone cases skipped — which is what the retry loop needs — while letting
genuinely broken states propagate.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent c9d301c commit 9985194
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
198 | 200 | | |
199 | 201 | | |
200 | 202 | | |
| |||
0 commit comments