Getting LUA error msg

BlitzMax Forums/BlitzMax Beginners Area/Getting LUA error msg

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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.