catch Lua syntax errors