Skip to content
Browse files

Moved next call below event so the currentUrl is correct in the error

  • Loading branch information...
1 parent a0c9ac7 commit d8c98f62a64f4bc80dc64d7980f82ad81fa17ee8 @davglass committed Jun 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/hub/agent.js
View
2 lib/hub/agent.js
@@ -137,11 +137,11 @@ Agent.prototype.unload = function () {
};
Agent.prototype.abort = function () {
- this.next(); //to next test
this.emit("abort");
this.emit("agentError", {
message: "Agent timed out running test: " + this.currentUrl
});
+ this.next(); //to next test
};
Agent.prototype.ping = function () {

0 comments on commit d8c98f6

Please sign in to comment.
Something went wrong with that request. Please try again.