mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-24 14:18:57 +00:00
fix logger
This commit is contained in:
parent
2ae51b4f82
commit
604bf7abe2
@ -50,7 +50,6 @@ class IPFS {
|
||||
}
|
||||
|
||||
setServiceCheck() {
|
||||
console.dir("setServiceCheck");
|
||||
let self = this;
|
||||
|
||||
self.events.on('check:backOnline:IPFS', function () {
|
||||
@ -64,14 +63,14 @@ class IPFS {
|
||||
self.events.request("services:register", 'IPFS', function (cb) {
|
||||
self._checkService((err, body) => {
|
||||
if (err) {
|
||||
self.logger.info("IPFS unavailable");
|
||||
self.logger.trace("IPFS unavailable");
|
||||
return cb({name: "IPFS ", status: 'off'});
|
||||
}
|
||||
if (body.Version) {
|
||||
self.logger.info("IPFS available");
|
||||
self.logger.trace("IPFS available");
|
||||
return cb({name: ("IPFS " + body.Version), status: 'on'});
|
||||
}
|
||||
self.logger.info("IPFS available");
|
||||
self.logger.trace("IPFS available");
|
||||
return cb({name: "IPFS ", status: 'on'});
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user