add error to metadata table

This commit is contained in:
Patrick Schratz 2024-07-25 00:04:28 +02:00
commit 687b2cea36
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -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)