Commit 34939d6
committed
fix: handle StaticSitesClient stderr and non-zero exit codes
The deploy command silently ignored failures from the StaticSitesClient
binary. When the binary crashed (e.g., missing native dependencies on
slim Docker images), the CLI reported success and exited with code 0.
This fix:
- Adds stderr handler to capture binary error output
- Adds else branch for non-zero exit codes with diagnostic message
- Calls process.exit(1) on failure so CI/CD detects it
Fixes #536, #594
Refs: ICM 210000009094991 parent 59d315d commit 34939d6
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
318 | 325 | | |
319 | 326 | | |
320 | 327 | | |
| |||
325 | 332 | | |
326 | 333 | | |
327 | 334 | | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
328 | 341 | | |
329 | 342 | | |
330 | 343 | | |
| |||
0 commit comments