Commit ee134d1a authored by sylvain.thenault@logilab.fr's avatar sylvain.thenault@logilab.fr
Browse files

catch Exception in case there is some unexepected selector bug

parent 1cc99ab21304
......@@ -201,7 +201,10 @@ class CubicWebRegistry(VRegistry):
yield view
except NoSelectableObject:
continue
except Exception:
self.exception('error while trying to list possible %s views for %s',
vid, rset)
def select_box(self, oid, *args, **kwargs):
"""return the most specific view according to the result set"""
try:
......
Supports Markdown
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