Commit a238ce5
committed
ci(coverage): guard health-check skip against empty exception message
If a skipped case raised an exception with an empty str() (e.g. ImportError() with no message), str(exc).strip().splitlines()[-1] indexed an empty list -> IndexError inside the except handler, which is uncaught and crashes the graceful-skip path. Fall back to '(no message)'. Caught by Claude Code Review on #1471.1 parent bb6a850 commit a238ce5
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments