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