Skip to content

Commit

Permalink
Log all attempts to update OpenShift objects
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Waugh <[email protected]>
  • Loading branch information
twaugh committed Apr 3, 2017
1 parent df7e988 commit 00d5a7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions osbs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def retry(*args, **kwargs):
if attempt != 0:
time.sleep(sleep_seconds)

logger.debug("attempt %d to call %s", attempt + 1, func.__name__)
try:
return func(*args, **kwargs)
except OsbsResponseException as ex:
Expand Down

0 comments on commit 00d5a7b

Please sign in to comment.