Save exception so it can be passed along.

This commit is contained in:
Rob Crittenden 2010-12-11 00:48:33 -05:00
parent 918ceca087
commit 490ae68e29

View File

@ -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