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) { ...@@ -380,7 +380,7 @@ Casper.prototype.checkStep = function checkStep(self, onComplete) {
380 } 380 }
381 } catch (error) { 381 } catch (error) {
382 self.emit('complete.error', error); 382 self.emit('complete.error', error);
383 this.emit('error', error); 383 self.emit('error', error);
384 } 384 }
385 }; 385 };
386 386
......