get _some_ error message out on stack overflow
Dependencies
- [2]
RFJTSX3Wdon't suggest pressing a key on initialization errors - [3]
XJEVMWTSremove a no-op regex munging on callstacks - [4]
3CMM7CXDresolve conflicts - [5]
LRDM35CEapp running again - [6]
5WHW3IDOfix initialization errors using driver.love - [7]
BQH7ANWMresolve conflicts - [8]
T7QIIGQ6attempt at better error recovery
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