diff --git a/lib/contracts/blockchain.js b/lib/contracts/blockchain.js index 95257964f..895860e13 100644 --- a/lib/contracts/blockchain.js +++ b/lib/contracts/blockchain.js @@ -115,7 +115,7 @@ class Blockchain { function checkNodeConnection(next) { self.assertNodeConnection(true, (err) => { if (err) { - return next(null, {name: "No Blockchain node found", status: 'off'}); + return next(true, {name: "No Blockchain node found", status: 'off'}); } next(); }); @@ -137,7 +137,7 @@ class Blockchain { }); } ], (err, statusObj) => { - if (err) { + if (err && err !== true) { self.logger.error(err); return; }