Commit 51e8279
fix(resolver): catch NoSuchProjectError in wheel server fallback
Fix e2e test failure in test_post_bootstrap_hook.sh by catching
NoSuchProjectError when trying wheel servers.
The previous fix (423d5c0) only caught ResolverException but not
NoSuchProjectError which is raised when a project doesn't exist
on a wheel server. Both are legitimate "not found" cases where
we should try the next wheel server.
Now catches both expected exceptions:
- ResolverException: no matching candidates found
- NoSuchProjectError: project doesn't exist on server
Still lets unexpected failures propagate:
- Auth failures (401)
- Network errors (ConnectionError)
- Plugin bugs (AttributeError, etc.)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Rohan Devasthale <rdevasth@redhat.com>1 parent 6b06299 commit 51e8279
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
186 | | - | |
187 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
188 | 192 | | |
189 | 193 | | |
190 | 194 | | |
| |||
0 commit comments