From ede31be47c5573c9c9f18b662e7f57ef4ed7b055 Mon Sep 17 00:00:00 2001 From: Egor Aristov Date: Sat, 8 Nov 2025 11:01:15 +0300 Subject: [PATCH] error processing --- lib/ts/src/lib.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ts/src/lib.ts b/lib/ts/src/lib.ts index 6cbb483..695d119 100644 --- a/lib/ts/src/lib.ts +++ b/lib/ts/src/lib.ts @@ -87,7 +87,7 @@ abstract class IPCCommon { protected processMsg(msg: Message): void { switch (msg.type) { case MsgType.Call: - this.handleCall(msg); + this.handleCall(msg).catch(e => this.onError?(e) : null); break; case MsgType.Response: this.handleResponse(msg);