Don't try to parse or render if we errored before

It catches and displays the exception, but doesn't stop processing.
Merge pull request #2 from peace-maker/return_on_failure

Don't try to parse or render after an error.