error processing
This commit is contained in:
parent
59b61ec584
commit
ede31be47c
@ -87,7 +87,7 @@ abstract class IPCCommon {
|
|||||||
protected processMsg(msg: Message): void {
|
protected processMsg(msg: Message): void {
|
||||||
switch (msg.type) {
|
switch (msg.type) {
|
||||||
case MsgType.Call:
|
case MsgType.Call:
|
||||||
this.handleCall(msg);
|
this.handleCall(msg).catch(e => this.onError?(e) : null);
|
||||||
break;
|
break;
|
||||||
case MsgType.Response:
|
case MsgType.Response:
|
||||||
this.handleResponse(msg);
|
this.handleResponse(msg);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user