Node-ACl throws uhandled rejection error
问题 i am using ACL module in my express application.At the start of the server i define some roles and their permissions using the acl.allow() function. But it logs in a error saying undefined rejection type.The error vanishes on giving a callback with error param.But i am not very sure about what is throwing the error and how it should be handled. My snippet code which i am using is : var aclmodule = new acl(new acl.mongodbBackend(config.db.URL, "accesscontrol_")); aclmodule.allow([ { roles:[