From 9337914b6ea95df6a52531413510f2c93f731371 Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Fri, 5 Oct 2018 19:16:08 +0200 Subject: [PATCH] chore(blockchainProcess): improve error message when blockchain client exits early In cases a blockchain client exits before Embark is done doing its work, the current error message doesn't provide any pointers to why this happened. Running `$ embark blockchain` separately could yield more information by the underlying process. --- lib/modules/blockchain_process/blockchainProcessLauncher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/blockchain_process/blockchainProcessLauncher.js b/lib/modules/blockchain_process/blockchainProcessLauncher.js index 2fc7be35c..992fbeae5 100644 --- a/lib/modules/blockchain_process/blockchainProcessLauncher.js +++ b/lib/modules/blockchain_process/blockchainProcessLauncher.js @@ -14,7 +14,7 @@ class BlockchainProcessLauncher { } processEnded(code) { - this.logger.error(__('Blockchain process ended before the end of this process. Code: %s', code)); + this.logger.error(__('Blockchain process ended before the end of this process. Try running blockchain in a separate process using `$ embark blockchain`. Code: %s', code)); } startBlockchainNode() {