In the CLI version, die on error
Merge pull request #2 from cosarara97/master

In the CLI version, die on error