On 3/15/14 9:00 PM, Ignacio Burgueño wrote: > I think I understand what you mean, but wouldn't that only work for > errors that occur when 'requiring' a module? D'oh, yeah you're right... you'd have to wrap the main chunk. Can't see an easy way then short of creating your own executable which does the whole lua_pcall thing with a custom error handler. Didn't think it through, soz :(