use conditionMessage instead of stderr
This commit is contained in:
parent
1ce509e86e
commit
af0573c2be
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ build_binary_package <- function(package_name, tag = NULL, codename = NULL,
|
||||||
},
|
},
|
||||||
error = function(e) {
|
error = function(e) {
|
||||||
message(sprintf("Error in installing dependencies for package %s with tag %s: %s", package_name[1], tag[1], e))
|
message(sprintf("Error in installing dependencies for package %s with tag %s: %s", package_name[1], tag[1], e))
|
||||||
store_build_metadata(package_name[1], tag[1], platform, error_occurred = TRUE, force = TRUE, error = e$stderr)
|
store_build_metadata(package_name[1], tag[1], platform, error_occurred = TRUE, force = TRUE, error = conditionMessage(e))
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
return(TRUE)
|
return(TRUE)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue