diff --git a/packages/lgtv-ip-control/src/classes/TinySocket.ts b/packages/lgtv-ip-control/src/classes/TinySocket.ts index b9dbdc7..0dcfe20 100644 --- a/packages/lgtv-ip-control/src/classes/TinySocket.ts +++ b/packages/lgtv-ip-control/src/classes/TinySocket.ts @@ -122,14 +122,10 @@ export class TinySocket { await this.wrap((resolve) => { this.#client.setTimeout(this.settings.networkTimeout); - try { - this.#client.connect(this.settings.networkPort, this.host, () => - resolve(undefined), - ); - this.#connected = true; - } catch (e) { - console.error(e); - } + this.#client.connect(this.settings.networkPort, this.host, () => { + resolve(undefined); + }); + this.#connected = true; }); }