Skip to content

Commit

Permalink
Corrected error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandras-Novikovas committed Mar 11, 2017
1 parent 78923da commit 59889c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ class Pool extends EventEmitter {
} else {
let errorMessage = 'Failed to create resource'
if (this._config.maxTries > 0 && this._failedTries >= this._config.maxTries) {
errorMessage = 'Failed to create resource ' + this._failedTries + ' in a row'
errorMessage = 'Failed to create resource ' + this._failedTries + ' times in a row'
}
clientResourceRequest.reject(new errors.ResourceCreationError(errorMessage))
}
Expand Down

0 comments on commit 59889c4

Please sign in to comment.