Don't crash template generation after compile-time error
Merge pull request #10 from tjarvstrand/support-compile-time-failures

Don't crash template generation after compile-time error