bugfix
This commit is contained in:
parent
d4e00576dc
commit
6e7fb3c6e9
2
index.js
2
index.js
@ -179,7 +179,7 @@ module.exports.create = function (opts) {
|
||||
machine.emit('tunnelError', msg);
|
||||
}
|
||||
else {
|
||||
(machine.onerror||machine.onError)(msg);
|
||||
(machine.onerror||machine.onmessage)(msg);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user