We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c7ed69 commit bcb8bb7Copy full SHA for bcb8bb7
1 file changed
crates/ark/src/modules/positron/reticulate.R
@@ -49,7 +49,7 @@
49
venv <- config$virtualenv
50
51
# Check that python can be loaded, if it can't we will throw
52
- # an error. which is unrecoverable.
+ # an error, which is unrecoverable.
53
config <- tryCatch({
54
reticulate::py_config()
55
}, error = function(err) {
@@ -68,7 +68,7 @@
68
})
69
70
if (inherits(ipykernel, "error")) {
71
- return(list(python = python, venv = venv, error = as.character(ipykernel)))
+ return(list(python = python, venv = venv, error = conditionMessage(ipykernel)))
72
}
73
74
list(
0 commit comments