From 7858bda654b4301ebb1303dfae3173e40ece8680 Mon Sep 17 00:00:00 2001 From: cubedro Date: Wed, 13 May 2015 16:46:47 +0300 Subject: [PATCH] a bit of styling for new changes --- lib/node.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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...'); } } }