Merge "improve error message for execution with retries"

This commit is contained in:
Jenkins 2016-07-30 19:50:02 +00:00 committed by Gerrit Code Review
commit ef15df0e2f

View File

@ -109,4 +109,5 @@ def execute_with_retries(method, *args, **kwargs):
method=method.__name__, error_msg=e))
raise e
else:
attempts = CONF.retries.retries_number
raise ex.MaxRetriesExceeded(attempts, method.__name__)