Skip to content

Commit 6799d01

Browse files
author
ldapjs
committed
1 parent 42704f8 commit 6799d01

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

client.html

+4
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,10 @@ <h3 id="note-on-logger">Note On Logger</h3>
208208
<li><a href="https://www.npmjs.com/package/bunyan">Bunyan</a></li>
209209
<li><a href="https://www.npmjs.com/package/pino">Pino</a></li>
210210
</ul>
211+
<h3 id="note-on-error-handling">Note On Error Handling</h3>
212+
<p>The client is an <code>EventEmitter</code>. If you don&#39;t register an error handler and
213+
e.g. a connection error occurs, Node.js will print a stack trace and exit the
214+
process (<a href="https://nodejs.org/api/events.html#error-events">reference</a>).</p>
211215
<h2 id="connection-management">Connection management</h2>
212216
<p>As LDAP is a stateful protocol (as opposed to HTTP), having connections torn
213217
down from underneath you can be difficult to deal with. Several mechanisms

0 commit comments

Comments
 (0)