#5434 add context to exception on LdapEntry decode error
Closed: Fixed None Opened 8 years ago by pvoborni.

When ldap entry contains invalid value which raises ValueError, caller of conn.decode should add context, ideally dn of entry, to exception/log so that it is know right away which entry contains the invalid value.

Optionally raise public exception.


Example 1272648 (this bugzilla is private so it might not be accessible to everyone)

master:

  • 53524fb add context to exception on LdapEntry decode error

Metadata Update from @pvoborni:
- Issue assigned to frenaud
- Issue set to the milestone: FreeIPA 4.4

7 years ago

Login to comment on this ticket.

Metadata