diff options
Diffstat (limited to 'tex/context/base/mkiv/luat-run.lua')
-rw-r--r-- | tex/context/base/mkiv/luat-run.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tex/context/base/mkiv/luat-run.lua b/tex/context/base/mkiv/luat-run.lua index 305948edb..beec93088 100644 --- a/tex/context/base/mkiv/luat-run.lua +++ b/tex/context/base/mkiv/luat-run.lua @@ -62,7 +62,9 @@ local function stop_run() if trace_tex_status then logs.newline() for k, v in table.sortedhash(status.list()) do - report_tex("%S=%S",k,v) + if type(v) ~= "table" then + report_tex("%S=%S",k,v) + end end end if quit then @@ -125,10 +127,10 @@ appendgroup(wrapupactions,"user") appendgroup(cleanupactions,"system") appendgroup(cleanupactions,"user") -local function wrapup_run() +local function wrapup_run(someerror) local runner = wrapupactions.runner if runner then - runner() + runner(someerror) -- we could use the error flag in lmtx end end |