add error to metadata table
This commit is contained in:
parent
d1e4c48104
commit
687b2cea36
1 changed files with 6 additions and 185 deletions
|
|
@ -107,7 +107,7 @@ build_binary_package <- function(package_name, tag = NULL, codename = NULL,
|
|||
local_clone_dir_single <- sprintf("%s/%s_%s", local_clone_dir, x, y)
|
||||
unlink(local_clone_dir_single, force = TRUE, recursive = TRUE)
|
||||
# NB: this does not always work, which is why we are using the lack of build_duration as a secondary factor in store_metadata()
|
||||
store_build_metadata(x, y, platform, error_occurred = TRUE, force = TRUE)
|
||||
store_build_metadata(x, y, platform, error_occurred = TRUE, force = TRUE, error = e)
|
||||
}
|
||||
)
|
||||
}, package_name, tag, future.seed = TRUE)
|
||||
|
|
|
|||
Loading…
Reference in a new issue