Save exception so it can be passed along.
This commit is contained in:
1 parent
918ceca087
commit
490ae68e29
1 file changed
+1
-1
@@ -297,7 +297,7 @@ class Service:
|
||||
|
||||
try:
|
||||
conn.add_s(entry)
|
||||
except ldap.ALREADY_EXISTS:
|
||||
except ldap.ALREADY_EXISTS, e:
|
||||
logging.critical("failed to add %s Service startup entry" % name)
|
||||
raise e
|
||||
|
||||
|
||||
Reference in new issue
Block a user