Skip to content

Commit

Permalink
Add warning output on backup-fetch retries (#1325)
Browse files Browse the repository at this point in the history
  • Loading branch information
usernamedt committed Aug 25, 2022
1 parent e7c4263 commit b7d53dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/extract.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ func ExtractAllWithSleeper(tarInterpreter TarInterpreter, files []ReaderMaker, s
}
currentRun = failed
if len(failed) > 0 {
tracelog.WarningLogger.Printf("%d files failed to download: %s. Going to sleep and retry downloading them.\n",
len(failed), readerMakersToFilePaths(failed))
sleeper.Sleep()
}
}
Expand Down

0 comments on commit b7d53dd

Please sign in to comment.