Commit d88b0f2
committed
feat(system): improve system command context error handling
Display error messages when system commands fail, showing the stderr
output when available, or a generic failure message with the exit code
when stderr is empty. Additionally, differentiate between successful and
failed commands by using distinct filenames for better context in the
Copilot Chat UI.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>1 parent 60b0f11 commit d88b0f2
1 file changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
331 | 342 | | |
332 | 343 | | |
333 | | - | |
334 | | - | |
| 344 | + | |
| 345 | + | |
335 | 346 | | |
336 | 347 | | |
337 | 348 | | |
| |||
0 commit comments