Commit 33bb0da
committed
utils/vmimage: Handle URLError in addition to HTTPError
Add URLError to exception handling in _feed_html_parser() to catch
DNS resolution failures and other network errors that don't result
in an HTTP response. Also add debug logging for network errors to
aid troubleshooting.
Reference: avocado-framework#6266
Assisted-By: Cursor-Claude-4-Sonnet
Signed-off-by: Harvey Lynden <hlynden@redhat.com>1 parent fdf8aee commit 33bb0da
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| |||
0 commit comments