mirror of https://github.com/embarklabs/embark.git
fix(@embark/whisper): fix whisper node printing twice because of duplicated name
This commit is contained in:
parent
cab1986ff5
commit
04a02af524
|
@ -207,7 +207,7 @@ Blockchain.prototype.run = function () {
|
|||
// TOCHECK I don't understand why stderr and stdout are reverted.
|
||||
// This happens with Geth and Parity, so it does not seems a client problem
|
||||
self.child.stdout.on("data", (data) => {
|
||||
self.logger.info(`${self.client.name} error: ${data}`);
|
||||
self.logger.error(`${self.client.name} error: ${data}`);
|
||||
});
|
||||
|
||||
self.child.stderr.on("data", async (data) => {
|
||||
|
|
|
@ -25,7 +25,7 @@ export class BlockchainProcessLauncher {
|
|||
this.logger.info(__("Starting Whisper node in another process").cyan);
|
||||
|
||||
this.blockchainProcess = new ProcessLauncher({
|
||||
name: "blockchain",
|
||||
name: "blockchainWhisper",
|
||||
modulePath: joinPath(__dirname, "./blockchainProcess.js"),
|
||||
logger: this.logger,
|
||||
events: this.events,
|
||||
|
|
Loading…
Reference in New Issue