Raise if the zsql_method of creation or delete of tables fails during a clear catalog


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33171 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6c5198fa
...@@ -805,6 +805,7 @@ class Catalog(Folder, ...@@ -805,6 +805,7 @@ class Catalog(Folder,
except: except:
LOG('SQLCatalog', WARNING, LOG('SQLCatalog', WARNING,
'could not clear catalog with %s' % method_name, error=sys.exc_info()) 'could not clear catalog with %s' % method_name, error=sys.exc_info())
raise
# Reserved uids have been removed. # Reserved uids have been removed.
self.clearReserved() self.clearReserved()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment