> > Isn't xpcall enough? > > No, because I need it to work for chunks I didn't load. Maybe I am missing something, but I think who loaded the chunk has no say about error handling. Do you mean you did not call it? -- Roberto