mirror of
https://github.com/philippdieter/puppet-ldapquery.git
synced 2025-10-13 12:55:48 +00:00
Improve scope error
This commit is contained in:
parent
90c1a3e3e4
commit
7dec36fc05
@ -107,7 +107,7 @@ module PuppetX
|
||||
|
||||
Puppet.debug("ldapquery(): Searching #{@base} for #{@attributes} using #{@filter} took #{time_delta} seconds and returned #{entries.length} results")
|
||||
return entries
|
||||
rescue LdapError => e
|
||||
rescue Net::LDAP::LdapError => e
|
||||
Puppet.debug("There was an error searching LDAP #{e.message}")
|
||||
Puppet.debug('Returning false')
|
||||
return false
|
||||
|
Loading…
x
Reference in New Issue
Block a user