aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_server.cpp
AgeCommit message (Collapse)Author
2015-08-27Push error handler afresh each time lua_pcall is usedKahrl
Fixes "double fault" / "error in error handling" messages (issue #1423) and instead shows a complete backtrace.
2015-08-12SAPI: Track last executed mod and include in error messageskwolekr
2015-08-05Improve Script CPP API diagnosticskwolekr
2014-05-08Use "core" namespace internallyShadowNinja
2014-04-27Only push the Lua error handler onceShadowNinja
2014-03-15Remove lua_State parameter from LuaError::LuaErrorShadowNinja
2014-03-15Revert "Make sure we get a stacktrace for as many lua errors as possible"ShadowNinja
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.
2014-03-15Make sure we get a stacktrace for as many lua errors as possibleSfan5
2013-12-18Handle LuaErrors in Lua -> C++ calls on LuaJITShadowNinja
2013-11-15Pass a errfunc to lua_pcall to get a tracebackShadowNinja
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl