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.
This commit is contained in:
Pascal Precht 2018-10-05 19:16:08 +02:00
parent 5f8ad923c7
commit 081b7eee89
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 1 additions and 1 deletions

View File

@ -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() {