Skip to content

Commit

Permalink
back to http_400
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Aug 24, 2023
1 parent d8f0ae9 commit 93994c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/tar_resources_network.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#' @param seconds_interval Nonnegative numeric of length 1,
#' controls the base of the exponent in the exponential backoff
#' algorithm for network retries. Each retry waits
#' `(1 + seconds_interval) ^ (tries - 1L) + runif(1)` seconds.
#' `(1 + seconds_interval) ^ (tries - 1L) + runif(1)` seconds.
#' Network retries are necessary safeguards to download, upload, or check
#' a remote network resource on a network file system (in the case of
#' `storage = "worker"` or `format = "file"`)
Expand Down
2 changes: 1 addition & 1 deletion R/utils_aws.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ aws_s3_head <- function(
fun = function(client, args) {
tryCatch(
do.call(what = client$head_object, args = args),
http_404 = function(condition) NULL
http_400 = function(condition) NULL
)
},
args = list(client = client, args = args),
Expand Down

0 comments on commit 93994c3

Please sign in to comment.