From 72d4d46363530f7c9345249c99dfb065935cc067 Mon Sep 17 00:00:00 2001 From: George Millo Date: Thu, 25 Jun 2015 17:32:41 +0200 Subject: [PATCH] fix incorrect error class name --- lib/net/ldap/connection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/ldap/connection.rb b/lib/net/ldap/connection.rb index 5e735f53..b51bcc10 100644 --- a/lib/net/ldap/connection.rb +++ b/lib/net/ldap/connection.rb @@ -652,7 +652,7 @@ def add(args) pdu = queued_read(message_id) if !pdu || pdu.app_tag != Net::LDAP::PDU::AddResponse - raise Net::LDAP::ResponseMissingError, "response missing or invalid" + raise Net::LDAP::ResponseMissingOrInvalidError, "response missing or invalid" end pdu