Skip to content

Commit

Permalink
This should be self
Browse files Browse the repository at this point in the history
  • Loading branch information
darashi committed Nov 14, 2012
1 parent 9b0de0d commit 955f6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/scenario-runner.js
Expand Up @@ -88,7 +88,7 @@ Runner.prototype._processScenario = function(scenario, callback) {

var statusCode = response.StatusCode;
if (!statusCodeTable[statusCode]) {
this.emit('error', {statusCode: statusCode});
self.emit('error', {statusCode: statusCode});
if (callback)
callback(statusCode, null);
return;
Expand Down

0 comments on commit 955f6a1

Please sign in to comment.