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 <twaugh@redhat.com>
  • Loading branch information
twaugh committed Apr 3, 2017
1 parent 1629e5a commit 1e33bd3
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 1e33bd3

Please sign in to comment.