added extended error reporting to Connection#modify

This commit is contained in:
blackhedd 2007-03-20 18:56:23 +00:00
parent 033bc22ee4
commit ae298d2865

View file

@ -1429,7 +1429,7 @@ module Net
@conn.write pkt @conn.write pkt
(be = @conn.read_ber(AsnSyntax)) && (pdu = LdapPdu.new( be )) && (pdu.app_tag == 7) or raise LdapError.new( "response missing or invalid" ) (be = @conn.read_ber(AsnSyntax)) && (pdu = LdapPdu.new( be )) && (pdu.app_tag == 7) or raise LdapError.new( "response missing or invalid" )
pdu.result_code pdu.result
end end