[Logs] Don't print flow error twice

Summary:
Flow errors are already throwing an exception in js, no need to also console.error in the packager
This commit is contained in:
Christopher Chedeau 2015-08-20 12:57:34 -07:00
parent 2330fa6bce
commit c786446983
1 changed files with 0 additions and 3 deletions

View File

@ -89,9 +89,6 @@ function doFlowTypecheck(res, flowroot, next) {
type: 'FlowError', type: 'FlowError',
errors: errors, errors: errors,
}; };
console.error(chalk.yellow('flow: Error running command `' + flowCmd +
'`:\n' + JSON.stringify(error))
);
res.writeHead(error.status, { res.writeHead(error.status, {
'Content-Type': 'application/json; charset=UTF-8', 'Content-Type': 'application/json; charset=UTF-8',
}); });