Commit 6dd8dad
committed
gh-47798: run_pipeline: identify the failing command in error output
Annotate spawn-time OSError with an exception note naming the
PipelineCommand and its index, so a FileNotFoundError mid-pipeline
tells the caller which command failed; the exception type is unchanged.
Reformat PipelineError.__str__ as "argv (commands[i]) detail" so the
argv leads and the index is unambiguously a Python list subscript.1 parent eff75cc commit 6dd8dad
3 files changed
Lines changed: 16 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
245 | | - | |
| 244 | + | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
1199 | 1199 | | |
1200 | 1200 | | |
1201 | 1201 | | |
1202 | | - | |
1203 | | - | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
1204 | 1210 | | |
1205 | 1211 | | |
1206 | 1212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2360 | 2360 | | |
2361 | 2361 | | |
2362 | 2362 | | |
2363 | | - | |
| 2363 | + | |
2364 | 2364 | | |
2365 | 2365 | | |
2366 | 2366 | | |
| |||
2370 | 2370 | | |
2371 | 2371 | | |
2372 | 2372 | | |
| 2373 | + | |
| 2374 | + | |
| 2375 | + | |
| 2376 | + | |
2373 | 2377 | | |
2374 | 2378 | | |
2375 | 2379 | | |
| |||
0 commit comments