more experimentation with lua errors