Commit e2603bc
committed
api: log non-ErrNoTOC failures in headingPathsForDoc (review)
GetTOC errors were all silently treated as 'no heading paths'. Now
retrieval.ErrNoTOC (the expected missing-TOC case) stays silent while any
other error is logged at debug for observability — still degrading
gracefully. Per Sourcery review on #40.1 parent efd783f commit e2603bc
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
392 | 403 | | |
393 | 404 | | |
394 | 405 | | |
| |||
0 commit comments