Commit afd39029 afd39029b0af77bebee8923f447db157f44fe5d7 by hexid

Fix error where this.emit('error', error); doesn't exist

1 parent eb4be25d
......@@ -380,7 +380,7 @@ Casper.prototype.checkStep = function checkStep(self, onComplete) {
}
} catch (error) {
self.emit('complete.error', error);
this.emit('error', error);
self.emit('error', error);
}
};
......