Fail with exit code 1 if an Error is raised

Also, it is nicer to display the message to the user than
a full stack trace.