allow module search to continue even if one module fails to load
git-svn-id: file:///home/svn/framework3/trunk@7689 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
93d02320cf
commit
facebbc791
|
@ -1953,7 +1953,13 @@ protected
|
|||
tbl = generate_module_table(type)
|
||||
|
||||
module_set.each_module { |refname, mod|
|
||||
o = mod.new
|
||||
o = nil
|
||||
|
||||
begin
|
||||
o = mod.new
|
||||
rescue ::Exception
|
||||
end
|
||||
next if not o
|
||||
|
||||
if not regex
|
||||
tbl << [ refname, o.name ]
|
||||
|
|
Loading…
Reference in New Issue