Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upengine.run leading to unhandled promise error #204
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting below when I am running the engine:
let results = await engine.run(facts);_.each(results.events, event => {triggeredevents.push(event.params.data);})error log:
(node:22949) Warning: a promise was created in a handler at path/node_modules/json-rules-engine/dist/engine.js:278:21 but was not returned from it, see http://goo.gl/rRqMUwat Function.Promise.cast (path/node_modules/bluebird/js/release/promise.js:225:13)