mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 04:24:15 +00:00
[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:
parent
a0168a8c62
commit
febc03a38b
@ -89,9 +89,6 @@ function doFlowTypecheck(res, flowroot, next) {
|
||||
type: 'FlowError',
|
||||
errors: errors,
|
||||
};
|
||||
console.error(chalk.yellow('flow: Error running command `' + flowCmd +
|
||||
'`:\n' + JSON.stringify(error))
|
||||
);
|
||||
res.writeHead(error.status, {
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user