diff --git a/docs/client.md b/docs/client.md index e58b171..42c6b01 100644 --- a/docs/client.md +++ b/docs/client.md @@ -22,7 +22,7 @@ const client = ldap.createClient({ url: ['ldap://127.0.0.1:1389', 'ldap://127.0.0.2:1389'] }); -client.on('error', (err) => { +client.on('connectError', (err) => { // handle connection error }) ```