fullnode: less spam.
This commit is contained in:
parent
ec8e3e0359
commit
1d55cd1b7e
@ -179,9 +179,13 @@ Fullnode.prototype._init = function _init() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.pool.on('error', function(err) {
|
this.pool.on('error', function(err) {
|
||||||
if (err.reason === 'insufficient priority')
|
switch (err.reason) {
|
||||||
return self.logger.spam(err.message);
|
case 'insufficient priority':
|
||||||
self._error(err);
|
case 'non-final':
|
||||||
|
return self.logger.spam(err.message);
|
||||||
|
default:
|
||||||
|
return self._error(err);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
this.chain.on('error', function(err) {
|
this.chain.on('error', function(err) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user