*Missing await
This commit is contained in:
parent
c52e437f50
commit
b98db98b6a
|
@ -60,7 +60,7 @@ export class SwarmClient extends Client {
|
||||||
}
|
}
|
||||||
|
|
||||||
async start(): Promise<void> {
|
async start(): Promise<void> {
|
||||||
this._connectBackoff.run(() => this.init());
|
await this._connectBackoff.run(() => this.init());
|
||||||
|
|
||||||
this._connectBackoff.on("retry", (error: any) => {
|
this._connectBackoff.on("retry", (error: any) => {
|
||||||
this.logErr(error);
|
this.logErr(error);
|
||||||
|
|
Loading…
Reference in New Issue