We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c10fb3 commit d1d90c8Copy full SHA for d1d90c8
index.js
@@ -76,7 +76,7 @@ var PythonShell = function (script, options) {
76
exitCode: code
77
});
78
// do not emit error if only a callback is used
79
- if (self.listeners('ererrror').length || !self._endCallback) {
+ if (self.listeners('error').length || !self._endCallback) {
80
self.emit('error', err);
81
}
82
0 commit comments