diff -r 1ec9fe1dfba9 -r 2a164a9cf81c hooks/notification.py --- a/hooks/notification.py Tue Sep 20 15:14:04 2011 +0200 +++ b/hooks/notification.py Wed Sep 21 17:38:00 2011 +0200 @@ -191,7 +191,7 @@ def _call(self): try: title = self.entity.dc_title() - except: + except Exception: # may raise an error during deletion process, for instance due to # missing required relation title = '#%s' % self.entity.eid