src/polling: Fix bug #276
Bug: With environment variable, `NODE_ENV`, is set to 'development', 'request-promise' emits the process warning: Warning: a promise was created in a handler, but was not returned from it > If you know what you're doing and don't want to silence all > warnings, you can create runaway promises without causing this > warning by returning e.g. null: > > — http://bluebirdjs.com/docs/warning-explanations.html#warning-a-promise-was-created-in-a-handler-but-was-not-returned-from-it We believe we know what we are doing. References: * Issue #276: https://github.com/yagop/node-telegram-bot-api/issues/276experimental
parent
14f37c7181
commit
3221d647cc
Loading…
Reference in new issue