diff --git a/src/index.js b/src/index.js index 653749c66..3b641d7b6 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;