document correct connection error in client documentation
This commit is contained in:
parent
9de9c703ab
commit
685465843d
|
@ -22,7 +22,7 @@ const client = ldap.createClient({
|
||||||
url: ['ldap://127.0.0.1:1389', 'ldap://127.0.0.2:1389']
|
url: ['ldap://127.0.0.1:1389', 'ldap://127.0.0.2:1389']
|
||||||
});
|
});
|
||||||
|
|
||||||
client.on('error', (err) => {
|
client.on('connectError', (err) => {
|
||||||
// handle connection error
|
// handle connection error
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue