Commit 1797e55
fix: propagate glob errors in mint_from_files and remove stale TODO (#372)
mint_from_files was logging glob errors but returning Ok(()), silently
swallowing failures. Now returns an error so callers know files failed
to read. Also removes a stale TODO comment where error handling was
already in place via the ? operator.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1c402be commit 1797e55
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | 174 | | |
176 | 175 | | |
177 | | - | |
| 176 | + | |
178 | 177 | | |
179 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
180 | 183 | | |
181 | 184 | | |
182 | 185 | | |
| |||
494 | 497 | | |
495 | 498 | | |
496 | 499 | | |
497 | | - | |
498 | 500 | | |
499 | 501 | | |
500 | 502 | | |
| |||
0 commit comments