mirror of https://github.com/pulumi/pulumi.git
cdb2c79e8e
As part of fixing the exit bug recently, we accidentally made errors lead to zero exit codes. As a result, the Pulumi CLI thought the prgoram exited ordinarily, and proceeded to do its usual planning and deployment, rather than terminating abruptly. This is a byproduct of how Node's process.uncaughtException handler works. It hijacks and replaces all usual error logic, including the process.exit part. This change simply adds back the non-zero exit. I also added a test (and fixed one other that began failing afterwards), so that we can prevent regressions down the road. |
||
---|---|---|
.. | ||
000.empty | ||
001.one_resource | ||
002.ten_resources | ||
003.one_complex_resource | ||
004.ten_complex_resources | ||
005.resource_thens | ||
006.asset | ||
007.promises_io | ||
008.ten_depends_on_resources | ||
009.invoke | ||
010.runtime_settings | ||
011.unhandled_error |