Prevent an exception from breaking the sql cache
parent
1d5b7a1a69
commit
4199b67879
|
@ -360,7 +360,11 @@ class DBManager
|
||||||
next if skipped.include?( [ mt[0], mn ] )
|
next if skipped.include?( [ mt[0], mn ] )
|
||||||
obj = mt[1].create(mn)
|
obj = mt[1].create(mn)
|
||||||
next if not obj
|
next if not obj
|
||||||
update_module_details(obj)
|
begin
|
||||||
|
update_module_details(obj)
|
||||||
|
rescue ::Exception
|
||||||
|
elog("Error updating module details for #{obj.fullname}: #{$!.class} #{$!}")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue