get _some_ error message out on stack overflow
Dependencies
- [2]
RFJTSX3Wdon't suggest pressing a key on initialization errors - [3]
LRDM35CEapp running again - [4]
T7QIIGQ6attempt at better error recovery - [5]
XJEVMWTSremove a no-op regex munging on callstacks - [6]
BQH7ANWMresolve conflicts - [7]
5WHW3IDOfix initialization errors using driver.love - [8]
3CMM7CXDresolve conflicts
Change contents
- replacement in live.lua at line 431
local callstack = debug.traceback('', --[[stack frame]]2)local cleaned_up_error = 'Error: ' .. cleaned_up_frame(tostring(err))..'\n'..cleaned_up_callstack(callstack)local cleaned_up_error = errif not err:match('stack overflow') thenlocal callstack = debug.traceback('', --[[stack frame]]2)cleaned_up_error = 'Error: ' .. cleaned_up_frame(tostring(err))..'\n'..cleaned_up_callstack(callstack)else-- call only primitive functions when we're out of stack spaceend - replacement in live.lua at line 507
local callstack = debug.traceback('', --[[stack frame]]2)local cleaned_up_error = 'Error: ' .. cleaned_up_frame(tostring(err))..'\n'..cleaned_up_callstack(callstack)local cleaned_up_error = errif not err:match('stack overflow') thenlocal callstack = debug.traceback('', --[[stack frame]]2)cleaned_up_error = 'Error: ' .. cleaned_up_frame(tostring(err))..'\n'..cleaned_up_callstack(callstack)else-- call only primitive functions when we're out of stack spaceend