Fails in command line tool when errors in compilation.
Merge pull request #17 from tessel/tcr-throwonerr

Fails in command line tool when errors in compilation.