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

Add Note on Client Error Handling to Documentation #786

Merged
merged 1 commit into from
Feb 24, 2022

Conversation

FabianScheidt
Copy link
Contributor

Some people (including myself) attempt to use the LDAP client without registering a handler to the error event, since e.g. connection errors are supposed to be included in the callbacks of other methods. Since the client is an EventEmitter however the Node.js process will exit if the handler is missing.

This PR adds a note to the documentation to avoid confusion as suggested in #356 and #498.

@FabianScheidt FabianScheidt changed the title docs: add note on client error handling to documentation Add Note on Client Error Handling to Documentation Feb 15, 2022
Copy link
Member

@UziTech UziTech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@UziTech UziTech merged commit b828515 into ldapjs:master Feb 24, 2022
@jsumners
Copy link
Member

⚠️ This issue has been locked due to age. If you have encountered a recent
problem that seems to be covered by this issue, please open a new issue.

Please include a minimal reproducible example
when opening a new issue.

@ldapjs ldapjs locked as resolved and limited conversation to collaborators Mar 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants