more on haku, highlighting fixes

This commit is contained in:
りき萌 2024-07-25 23:36:50 +02:00
parent e9ae153266
commit e1fe9fde11
5 changed files with 429 additions and 6 deletions

View file

@ -79,7 +79,9 @@ export async function evaluate(commands, { error, newOutput }) {
kind: "output",
output: {
kind: "error",
message: [err.toString()],
message: [
err.stack.length > 0 ? err.toString() + "\n\n" + err.stack : err.toString(),
],
},
outputIndex,
});