move processes into core

This commit is contained in:
Iuri Matias 2018-07-27 17:33:50 -04:00
parent 45cc43bfc8
commit dddd49a560
2 changed files with 0 additions and 7 deletions

View File

@ -42,9 +42,6 @@ class ProcessLauncher {
_subscribeToMessages() {
const self = this;
this.process.on('message', (msg) => {
if (msg.error) {
self.logger.error(msg.error);
}
if (msg.result === constants.process.log) {
return self._handleLog(msg);
}

View File

@ -1,7 +1,3 @@
process.on('uncaughtException', function(e){
process.send({error: e.stack});
});
const constants = require('../../constants');
const Events = require('./eventsWrapper');