Skip to content

Commit

Permalink
attempt to print whole message
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Jul 8, 2024
1 parent e8a1b3e commit 26d7e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/syrup.R
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ syrup <- function(expr, interval = .5, peak = FALSE, env = caller_env()) {
res <- sesh_res$result

if (is.null(res)) {
stop(sesh_res$error)
stop(gsub("\n", " ", conditionMessage(sesh_res$error)))
}

if (identical(res$id[length(res$id)], 1) && !isTRUE(peak)) {
Expand Down

0 comments on commit 26d7e12

Please sign in to comment.