This commit is contained in:
AJ ONeal 2016-09-30 01:03:06 -04:00
parent d4e00576dc
commit 6e7fb3c6e9
1 changed files with 1 additions and 1 deletions

View File

@ -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 {