log errors during add_to_ldap