Commit be040606 authored by Tristan Cavelier's avatar Tristan Cavelier Committed by Kazuhiko Shiozaki

catch get security groups mysql error

parent 82b30613
...@@ -177,6 +177,10 @@ class ERP5GroupManager(BasePlugin): ...@@ -177,6 +177,10 @@ class ERP5GroupManager(BasePlugin):
'could not get security groups from %s' % 'could not get security groups from %s' %
generator_name, generator_name,
error = sys.exc_info()) error = sys.exc_info())
except:
LOG('ERP5GroupManager', WARNING,
'could not get security groups mysql ?',
error = sys.exc_info())
finally: finally:
pass pass
return tuple(security_group_list) return tuple(security_group_list)
......
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