Tested fix: error reporting now works end-to-end
Merge pull request #8 from vlad902/vlad/fix-error-reporting

Tested fix: error reporting now works end-to-end