diff --git a/lib/node.js b/lib/node.js index f94770f..d43bc3f 100644 --- a/lib/node.js +++ b/lib/node.js @@ -151,7 +151,7 @@ Node.prototype.checkWeb3Connection = function() if(this._connection_attempts < MAX_CONNECTION_ATTEMPTS) { console.error('Web3 connection attempt', chalk.cyan('#' + this._connection_attempts++), 'failed'); - console.info('Trying again in', 500 * this._connection_attempts) + console.error('Trying again in', chalk.cyan(500 * this._connection_attempts + ' ms')); setTimeout(function () { @@ -160,7 +160,7 @@ Node.prototype.checkWeb3Connection = function() } else { - console.error('Web3 connection failed', MAX_CONNECTION_ATTEMPTS, 'times. Aborting...'); + console.error('Web3 connection failed', chalk.cyan(MAX_CONNECTION_ATTEMPTS), 'times. Aborting...'); } } }