mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 22:11:09 +03:00
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:
parent
5601594d3e
commit
84ce7cc77e
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user