fix(core): update
This commit is contained in:
parent
cf7c3cb910
commit
cf61de9093
@ -8,8 +8,12 @@ export class Bobcat {
|
|||||||
// STATIC
|
// STATIC
|
||||||
public static async createFromNetworkAddress(networkAddressArg: string) {
|
public static async createFromNetworkAddress(networkAddressArg: string) {
|
||||||
const newBobcat = new Bobcat(networkAddressArg);
|
const newBobcat = new Bobcat(networkAddressArg);
|
||||||
await newBobcat.checkMinerStatus().catch();
|
try {
|
||||||
await newBobcat.gatherMinerDetails().catch();
|
await newBobcat.checkMinerStatus();
|
||||||
|
await newBobcat.gatherMinerDetails();
|
||||||
|
} catch(err) {
|
||||||
|
console.log('initial adding completed with errors');
|
||||||
|
}
|
||||||
return newBobcat;
|
return newBobcat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,8 +21,4 @@ export class BobcatManager {
|
|||||||
await bobcat.runMaintenance();
|
await bobcat.runMaintenance();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
public async restart() {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user