fix error handling when adding user that already exists

This commit is contained in:
kakwa 2019-02-09 20:47:34 +01:00
parent 932e7a8b40
commit b68214022c
1 changed files with 1 additions and 0 deletions

View File

@ -678,6 +678,7 @@ class LdapCherry(object):
self._add_notification(
'User already exists in backend "' + b + '"'
)
return
if not added:
raise e