Anyone know how to get an error message from LUA?
I'm not calling any functions from LUA, I'm simply running a LUA script via lua_dofile(LuaState, "test.lua") and nothing really happens if there's a syntax error or something, I'd like to print LUA errors but can't figure out how to actually GET the error messages from LUA.
I'm not calling any functions from LUA, I'm simply running a LUA script via lua_dofile(LuaState, "test.lua") and nothing really happens if there's a syntax error or something, I'd like to print LUA errors but can't figure out how to actually GET the error messages from LUA.