exit with error code if stack failed
fail the script if any parts of it don't exit successfully.