error processing

This commit is contained in:
Egor Aristov 2025-11-08 11:01:15 +03:00
parent 59b61ec584
commit ede31be47c
Signed by: egor3f
GPG Key ID: 40482A264AAEC85F

View File

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