I have only a very basic LUA knowledge, I use it merely as something slightly above configuration file.
I have this problem, I run a LUA file (luaL_loadfile() then lua_pcall()) and when there is some syntax error (like misspelled function name) I only get a generic "communication error" without mentioning the line of the error (which alone would solve the problem for me). I tried to google the solution but could not really find anything useful... Which is weird
So, how to make it return the line of the error in LUA script?