fix call with error handler not throwing on call itself
This commit is contained in:
@@ -111,6 +111,7 @@ export class RPCSocket implements I.Socket{
|
||||
return await this.socket.call.apply(this.socket, [rpcname, ...args])
|
||||
}catch(e){
|
||||
this.emit('error', e)
|
||||
throw e
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user