a bit of styling for new changes
This commit is contained in:
parent
d68696f329
commit
7858bda654
@ -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...');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user