Commit 4228cbc
Fix silent error swallowing in cmd/main.go
Handle the error returned by os.ReadFile() in insert_purls instead
of discarding it with _. Previously, if a data file could not be read,
zero PURLs were silently inserted into the FST with no indication of
failure.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>1 parent bc44a00 commit 4228cbc
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | 58 | | |
60 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
0 commit comments