Removing error handling using process.stderr

- process.stdin/out/error is problematic, see https://github.com/joyent/node/issues/3584
This commit is contained in:
Hannah Wolfe 2013-11-27 16:06:56 +00:00
parent 5601594d3e
commit 84ce7cc77e

View File

@ -28,9 +28,6 @@ var config = require('./server/config'),
// stderr messages from bluebird promises. // stderr messages from bluebird promises.
if (process.env.NODE_ENV === 'development') { if (process.env.NODE_ENV === 'development') {
require('when/monitor/console'); require('when/monitor/console');
process.stderr.on('data', function (msg) {
console.log(msg);
});
} }
// Sets up the express server instance. // Sets up the express server instance.