File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/resources/filters/common Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 55-- could write to named filed (e.g. <docname>.filter.log) and client could read warnings and delete (also delete before run)
66-- always append b/c multiple filters
77
8+ --- The default, built-in error function.
9+ -- The `error` global is redefined below.
10+ local builtin_error_function = error
11+
812-- luacov: disable
913local function caller_info (offset )
1014 offset = offset or 3
2731function fatal (message , offset )
2832 io.stderr :write (lunacolors .red (" FATAL (" .. caller_info (offset ) .. " ) " .. message .. " \n " ))
2933 -- TODO write stack trace into log, and then exit.
30- crash_with_stack_trace ()
34+ builtin_error_function ( ' FATAL QUARTO ERROR ' , offset )
3135end
32- -- luacov: enable
36+ -- luacov: enable
You can’t perform that action at this time.
0 commit comments