Merge remote-tracking branch 'origin/master' into subpixel-font-positioning-fix
This commit is contained in:
+3
-2
@@ -135,7 +135,8 @@ init_lua:
|
||||
" core.run()\n"
|
||||
"end, function(err)\n"
|
||||
" local error_dir\n"
|
||||
" print('ERROR', err)\n"
|
||||
" io.stdout:write('Error: '..tostring(err)..'\\n')\n"
|
||||
" io.stdout:write(debug.traceback(nil, 4)..'\\n')\n"
|
||||
" if core and core.on_error then\n"
|
||||
" error_dir=USERDIR\n"
|
||||
" pcall(core.on_error, err)\n"
|
||||
@@ -143,7 +144,7 @@ init_lua:
|
||||
" error_dir=system.absolute_path('.')\n"
|
||||
" local fp = io.open('error.txt', 'wb')\n"
|
||||
" fp:write('Error: ' .. tostring(err) .. '\\n')\n"
|
||||
" fp:write(debug.traceback(nil, 4))\n"
|
||||
" fp:write(debug.traceback(nil, 4)..'\\n')\n"
|
||||
" fp:close()\n"
|
||||
" end\n"
|
||||
" system.show_fatal_error('Lite XL internal error',\n"
|
||||
|
||||
Reference in New Issue
Block a user