Commit 433ceff
fix: wrap discoverTrends() in try/catch for graceful fallback
If trend discovery throws (network error, API down, etc.), falls back
to FALLBACK_TRENDS instead of returning a 500. Matches the same
resilient pattern used for conductResearch().
Co-authored-by: research <research@miriad.systems>1 parent 69a9e8b commit 433ceff
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
387 | | - | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
388 | 394 | | |
389 | | - | |
| 395 | + | |
390 | 396 | | |
391 | 397 | | |
392 | 398 | | |
| |||
0 commit comments