Properly show errors in batch compile mode
Merge pull request #585 from david-christiansen/error-reflection

Properly show errors in batch compile mode