Skip to content

Commit 43886aa

Browse files
author
Andrei Neagu
committed
add attempt logging
1 parent ee11b6c commit 43886aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/service-library/src/servicelib/docker_utils.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,10 @@ async def pull_image(
260260
):
261261
# each time there is an error progress start from zero again
262262
progress_bar.reset_progress()
263+
_logger.info(
264+
"Attemping for the count='%s' time to pull the image",
265+
attempt.retry_state.attempt_number,
266+
)
263267

264268
with attempt:
265269
reported_progress = 0.0

0 commit comments

Comments
 (0)