catch Exception in case there is some unexepected selector bug
authorsylvain.thenault@logilab.fr
Tue, 13 Jan 2009 17:57:49 +0100
changeset 395 cce260264122
parent 394 1cc99ab21304
child 396 76d593bd4221
catch Exception in case there is some unexepected selector bug
cwvreg.py
--- a/cwvreg.py	Tue Jan 13 17:57:19 2009 +0100
+++ b/cwvreg.py	Tue Jan 13 17:57:49 2009 +0100
@@ -201,7 +201,10 @@
                     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: