JuliaKurs23/patch-quarto-stacktrace

15 lines
492 B
Plaintext

diff --git a/src/core/jupyter/jupyter.ts b/src/core/jupyter/jupyter.ts
index 4a1d04963..2fbda1d12 100644
--- a/src/core/jupyter/jupyter.ts
+++ b/src/core/jupyter/jupyter.ts
@@ -1575,7 +1575,7 @@ function mdOutputStream(output: JupyterOutputStream) {
}
function mdOutputError(output: JupyterOutputError) {
- return mdCodeOutput([output.ename + ": " + output.evalue]);
+ return mdCodeOutput([output.ename + ": " + output.traceback.join('\n')]);
}
async function mdOutputDisplayData(