Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit 6854658

Browse files
Tethikjsumners
authored andcommitted
document correct connection error in client documentation
1 parent 9de9c70 commit 6854658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const client = ldap.createClient({
2222
url: ['ldap://127.0.0.1:1389', 'ldap://127.0.0.2:1389']
2323
});
2424

25-
client.on('error', (err) => {
25+
client.on('connectError', (err) => {
2626
// handle connection error
2727
})
2828
```

0 commit comments

Comments
 (0)