That makes sense, thanks Mike. I have some code where I was pcalling and it did seem like overkill. Didn't realize my phone was sending HTML messages, I'll look for a setting, thanks. On Wed, Feb 27, 2013 at 10:49 AM, Mike Pall <mike-1302@xxxxxxxxxx> wrote: > mlepage@xxxxxxxxxxxx wrote: > > I guess it is OK to lua_call, or is it preferable to lua_pcall? > > I don't think it makes sense to catch errors there. Any error in > luaopen_* is fatal, since you can't proceed without the library, > anyway. So you might as well let the errors propagate to an outer > pcall or, as a last resort, the panic function. > > BTW: Please do not send HTML messages to the mailing list. > > --Mike > >