Commit a1c894f
Trinity Agent
fix(utils): replace catch {} with error logging in tri_utils.zig (#182)
Replace silent error swallowing with debug logging for corpus and
context index operations. Using std.log.debug since load failures
on first run are expected (no existing files to load).
Affected lines:
- corpus.loadInto() at line 322
- ctx_mgr.loadIndex() at line 327
- mgr.saveIndex() at line 365
- corpus.save() at line 373
Closes #1821 parent c16ed8f commit a1c894f
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
323 | 325 | | |
324 | 326 | | |
325 | 327 | | |
326 | 328 | | |
327 | | - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
328 | 332 | | |
329 | 333 | | |
330 | 334 | | |
| |||
362 | 366 | | |
363 | 367 | | |
364 | 368 | | |
365 | | - | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
366 | 372 | | |
367 | 373 | | |
368 | 374 | | |
369 | 375 | | |
370 | 376 | | |
371 | 377 | | |
372 | 378 | | |
373 | | - | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
374 | 382 | | |
375 | 383 | | |
376 | 384 | | |
| |||
0 commit comments