From dddd49a56032716fc78f5135065a8338dcfe9e8e Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 27 Jul 2018 17:33:50 -0400 Subject: [PATCH] move processes into core --- lib/core/processes/processLauncher.js | 3 --- lib/core/processes/processWrapper.js | 4 ---- 2 files changed, 7 deletions(-) diff --git a/lib/core/processes/processLauncher.js b/lib/core/processes/processLauncher.js index 7ee80fc5..88ad8f4c 100644 --- a/lib/core/processes/processLauncher.js +++ b/lib/core/processes/processLauncher.js @@ -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); } diff --git a/lib/core/processes/processWrapper.js b/lib/core/processes/processWrapper.js index 26137474..5948444e 100644 --- a/lib/core/processes/processWrapper.js +++ b/lib/core/processes/processWrapper.js @@ -1,7 +1,3 @@ -process.on('uncaughtException', function(e){ - process.send({error: e.stack}); -}); - const constants = require('../../constants'); const Events = require('./eventsWrapper');