|
2017-03-30 14:18 GMT+02:00 Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>: >> local pkg = assert(require "obscuremodule") > > Calling assert here does nothing because require raises errors if they occur. > > Perhaps you mean > > local ok, pkg = pcall(require,"obscuremodule") Thank you. :-)