fix(@embark/cockpit): Fix whisper messages not being received

Cockpit whisper messages were not being subscribed to due to a inocuous bug that would swallow errors and ultimately not be subscribed to the `rxjs` observer.
This commit is contained in:
emizzle 2019-02-25 13:28:57 +11:00 committed by Eric Mastro
parent c708bad8bb
commit a67a4ad96e
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ class Whisper {
this.web3 = new Web3();
this.embark = embark;
this.web3Ready = false;
this.webSocketsChannels = {};
if (embark.currentContext.includes('test') && options.node &&options.node === 'vm') {
this.logger.info(__('Whisper disabled in the tests'));