diff options
Diffstat (limited to 'infra/retry.py')
-rw-r--r-- | infra/retry.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/infra/retry.py b/infra/retry.py index 1a94180c6..1f6d54b8d 100644 --- a/infra/retry.py +++ b/infra/retry.py @@ -56,9 +56,9 @@ def wrap(retries, """Handle retry.""" if (exception is None or isinstance(exception, exception_type)) and num_try < tries: - logging.log('Retrying on %s failed with %s. Retrying again.', - function_with_type, - sys.exc_info()[1]) + logging.info('Retrying on %s failed with %s. Retrying again.', + function_with_type, + sys.exc_info()[1]) sleep(get_delay(num_try, delay, backoff)) return True |