This commit is contained in:
crusader 2018-03-18 22:42:32 +09:00
parent 0c7f336781
commit a39c130633

View File

@ -101,7 +101,9 @@ export abstract class RPCClient {
const resCodec = this._codec.response(message); const resCodec = this._codec.response(message);
if (resCodec.isNotification()) { if (resCodec.isNotification()) {
this.onNotification(resCodec.notification()); const noti = resCodec.notification();
console.log(`RPC Notification: ${noti}`);
this.onNotification(noti);
} else { } else {
this.onResponse(resCodec); this.onResponse(resCodec);
} }