Fix error where this.emit('error', error); doesn't exist
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment