Skip to content

Commit

Permalink
move log
Browse files Browse the repository at this point in the history
  • Loading branch information
lucymcnatt committed Jan 23, 2025
1 parent 9e596df commit ba8ee7f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,9 @@ case class GcsUriDownloader(gcsUrl: String,
def handleDownloadFailure(t: Throwable): IO[DownloadResult] =
downloadWithRetries(downloadRetries, backoff, downloadAttempt + 1)

Check warning on line 62 in cromwell-drs-localizer/src/main/scala/drs/localizer/downloaders/GcsUriDownloader.scala

View check run for this annotation

Codecov / codecov/patch

cromwell-drs-localizer/src/main/scala/drs/localizer/downloaders/GcsUriDownloader.scala#L62

Added line #L62 was not covered by tests

logger.info(s"Attempting download attempt $downloadAttempt of $downloadRetries for a GCS url")

if (downloadAttempt < downloadRetries) {
backoff foreach { b => Thread.sleep(b.backoffMillis) }

Check warning on line 65 in cromwell-drs-localizer/src/main/scala/drs/localizer/downloaders/GcsUriDownloader.scala

View check run for this annotation

Codecov / codecov/patch

cromwell-drs-localizer/src/main/scala/drs/localizer/downloaders/GcsUriDownloader.scala#L64-L65

Added lines #L64 - L65 were not covered by tests
logger.info(s"Attempting download attempt $downloadAttempt of $downloadRetries for a GCS url")
runDownloadCommand.redeemWith(
recover = handleDownloadFailure,

Check warning on line 68 in cromwell-drs-localizer/src/main/scala/drs/localizer/downloaders/GcsUriDownloader.scala

View check run for this annotation

Codecov / codecov/patch

cromwell-drs-localizer/src/main/scala/drs/localizer/downloaders/GcsUriDownloader.scala#L67-L68

Added lines #L67 - L68 were not covered by tests
bind = {
Expand Down

0 comments on commit ba8ee7f

Please sign in to comment.