diff --git a/dist/index.js b/dist/index.js index 681f4af..1ef9da9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -44,7 +44,7 @@ export class SwarmClient extends Client { this._ready = undefined; } async start() { - this._connectBackoff.run(() => this.init()); + await this._connectBackoff.run(() => this.init()); this._connectBackoff.on("retry", (error) => { this.logErr(error); });