Skip to content

Conversation

Laykou
Copy link
Contributor

@Laykou Laykou commented Dec 12, 2019

Due to missing explicit name, the LdapPduError actually looked for Net::LDAP::PDU::LdapPduError class.

Even though the Net module has a missing constant method, it was not catched here.

The solution is to explicitly use Error classs.

Copy link
Member

@HarlemSquirrel HarlemSquirrel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@HarlemSquirrel HarlemSquirrel merged commit 30b5db4 into ruby-ldap:master Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants