aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_server.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Push error handler afresh each time lua_pcall is usedKahrl2015-08-271-3/+9
| | | | | Fixes "double fault" / "error in error handling" messages (issue #1423) and instead shows a complete backtrace.
* SAPI: Track last executed mod and include in error messageskwolekr2015-08-121-2/+5
|
* Improve Script CPP API diagnosticskwolekr2015-08-051-6/+3
|
* Use "core" namespace internallyShadowNinja2014-05-081-5/+5
|
* Only push the Lua error handler onceShadowNinja2014-04-271-28/+16
|
* Remove lua_State parameter from LuaError::LuaErrorShadowNinja2014-03-151-6/+6
|
* Revert "Make sure we get a stacktrace for as many lua errors as possible"ShadowNinja2014-03-151-6/+6
| | | | | | | | This reverts commit 362ef5f6ced862daa4733034810d0b07e2ad5d89. Stack tracebacks couldn't be generated in LuaError::LuaError anyway and this caused a second, empty traceback in most cases. In cases where there wasn't annother traceback the stack had already unwound and the traceback was empty.
* Make sure we get a stacktrace for as many lua errors as possibleSfan52014-03-151-6/+6
|
* Handle LuaErrors in Lua -> C++ calls on LuaJITShadowNinja2013-12-181-6/+6
|
* Pass a errfunc to lua_pcall to get a tracebackShadowNinja2013-11-151-8/+23
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-141-0/+151