Commit a407b6c
authored
fix(ddg): restore broad exception catch in search() to prevent pipeline crashes (#74)
PR #66 narrowed except Exception to (KeyError, ValueError, TypeError,
AttributeError) — but httpx network errors (ReadTimeout, ConnectError,
RemoteProtocolError) are not subclasses of those. Network errors during
DDG searches propagated up and crashed the entire search-news CI step.
This is a system boundary: any search failure should return [], not crash.1 parent 42be520 commit a407b6c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
0 commit comments