Prevent an exception from breaking the sql cache

unstable
HD Moore 2012-07-07 17:30:31 -05:00
parent 1d5b7a1a69
commit 4199b67879
1 changed files with 5 additions and 1 deletions

View File

@ -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