diff --git a/src/index.js b/src/index.js index 653749c6..3b641d7b 100644 --- a/src/index.js +++ b/src/index.js @@ -32,6 +32,10 @@ var ldap_client = ldap.createClient({ reconnect: true }); +ldap_client.on('error', function(err) { + console.error('LDAP Error:', err.message) +}) + var deps = {}; deps.u2f = u2f; deps.nedb = nedb;