diff --git a/live.lua b/live.lua index b6de570..c08e7d3 100644 --- a/live.lua +++ b/live.lua @@ -373,7 +373,7 @@ end -- return nil to continue the event loop, non-nil to quit function live.handle_error(err) Mode = 'error' - local stack_trace = debug.traceback('Error: ' .. tostring(err), --[[stack frame]]2):gsub('\n[^\n]+$', '') + local stack_trace = debug.traceback('Error: ' .. tostring(err), --[[stack frame]]2) live.send_run_time_error_to_driver(stack_trace) Error_message = 'Something is wrong. Sorry!\n\n'..stack_trace..'\n\n'.. "(Note: function names above don't include outer tables. So functions like on.draw might show up as just 'draw', etc.)\n\n"..