diff --git a/src/index.js b/src/index.js index 4717ff2e..3b641d7b 100644 --- a/src/index.js +++ b/src/index.js @@ -27,13 +27,15 @@ var config = { notifier: yaml_config.notifier, } -console.log(config); - var ldap_client = ldap.createClient({ url: config.ldap_url, reconnect: true }); +ldap_client.on('error', function(err) { + console.error('LDAP Error:', err.message) +}) + var deps = {}; deps.u2f = u2f; deps.nedb = nedb;