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

@diogomonica