Add retry limit to sauce retry message.

This commit is contained in:
John-David Dalton
2014-05-01 08:52:20 -07:00
parent d8221b880b
commit 5bd8319f99

View File

@@ -423,7 +423,7 @@ Job.prototype.restart = function(callback) {
label = options.name + ':';
logInline();
console.log(label + ' ' + description + ' restart #%d', ++this.attempts);
console.log(label + ' ' + description + ' restart #%d of %d', ++this.attempts, this.retries);
this.stop(_.bind(this.start, this, callback));
};