Commit a4a0e8d
fix: throw on failed Elasticsearch response instead of returning empty data
Previously, a failed search response was logged as a warning but
execution continued to BuildResult, returning HTTP 200 with
empty/truncated data. Now throws InvalidOperationException so the
failure surfaces as an error to the caller.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e61cc0a commit a4a0e8d
1 file changed
Lines changed: 4 additions & 2 deletions
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
0 commit comments