In the CLI version, die on error