mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +00:00
Add retry limit to sauce retry message.
This commit is contained in:
@@ -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));
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user