a bit of styling for new changes

This commit is contained in:
cubedro 2015-05-13 16:46:47 +03:00
parent d68696f329
commit 7858bda654

View File

@ -151,7 +151,7 @@ Node.prototype.checkWeb3Connection = function()
if(this._connection_attempts < MAX_CONNECTION_ATTEMPTS) if(this._connection_attempts < MAX_CONNECTION_ATTEMPTS)
{ {
console.error('Web3 connection attempt', chalk.cyan('#' + this._connection_attempts++), 'failed'); 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 () setTimeout(function ()
{ {
@ -160,7 +160,7 @@ Node.prototype.checkWeb3Connection = function()
} }
else else
{ {
console.error('Web3 connection failed', MAX_CONNECTION_ATTEMPTS, 'times. Aborting...'); console.error('Web3 connection failed', chalk.cyan(MAX_CONNECTION_ATTEMPTS), 'times. Aborting...');
} }
} }
} }