Commit 6d6cb0f
authored
utils/lxmlize: re-raise the original parse error instead of wrapping it (#5680)
`raise Exception(e)` after the log line widened the type to bare
Exception and dropped the original traceback, so the scraper output
showed `Exception('XMLSyntaxError(...)")'` instead of the actual
parser error. Plain `raise` keeps the lxml exception and its full
chain intact.
Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>1 parent 61bf46b commit 6d6cb0f
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments