Merge "improve error message for execution with retries"
This commit is contained in:
commit
ef15df0e2f
@ -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__)
|
||||
|
Loading…
Reference in New Issue
Block a user