Skip to content

Commit

Permalink
surface error with rlang
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Jul 8, 2024
1 parent 7aeef59 commit d5113e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ retrieve_results <- function(sesh, call = caller_env()) {
sesh$close()

if (cnt == 10) {
cli::cli_abort(
rlang::abort(
"Unable to retrieve resource usage results from the temporary session.",
.internal = TRUE
.internal = TRUE,
call = call
)
}

Expand Down

0 comments on commit d5113e6

Please sign in to comment.