Skip to content

Fix uninitialised Net::LDAP::LdapPduError#338

Merged
HarlemSquirrel merged 1 commit intoruby-ldap:masterfrom
Laykou:patch-1
Jul 2, 2020
Merged

Fix uninitialised Net::LDAP::LdapPduError#338
HarlemSquirrel merged 1 commit intoruby-ldap:masterfrom
Laykou:patch-1

Conversation

@Laykou
Copy link
Copy Markdown
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
Copy Markdown
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