use non-restricted event name
This commit is contained in:
parent
ce49d8dae9
commit
892890bbfd
1 changed files with 2 additions and 1 deletions
|
|
@ -376,7 +376,8 @@ module.exports = (
|
||||||
})
|
})
|
||||||
|
|
||||||
call.on('error', err => {
|
call.on('error', err => {
|
||||||
socket.emit('error', err)
|
// 'error' is a reserved event name we can't use it
|
||||||
|
socket.emit('$error', err)
|
||||||
})
|
})
|
||||||
|
|
||||||
// Possibly allow streaming writes such as sendPaymentV2
|
// Possibly allow streaming writes such as sendPaymentV2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue