fix(core): update

This commit is contained in:
Philipp Kunz 2022-02-25 21:48:26 +01:00
parent cf7c3cb910
commit cf61de9093
2 changed files with 6 additions and 6 deletions

View File

@ -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;
}

View File

@ -21,8 +21,4 @@ export class BobcatManager {
await bobcat.runMaintenance();
}
};
public async restart() {
}
}