{"action":"created","issue":{"url":"https://api.github.com/repos/neumino/rethinkdbdash/issues/179","labels_url":"https://api.github.com/repos/neumino/rethinkdbdash/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/neumino/rethinkdbdash/issues/179/comments","events_url":"https://api.github.com/repos/neumino/rethinkdbdash/issues/179/events","html_url":"https://github.com/neumino/rethinkdbdash/issues/179","id":116954806,"number":179,"title":"Warning: a promise was created in a  handler but was not returned from it","user":{"login":"roblav96","id":1457327,"avatar_url":"https://avatars.githubusercontent.com/u/1457327?v=3","gravatar_id":"","url":"https://api.github.com/users/roblav96","html_url":"https://github.com/roblav96","followers_url":"https://api.github.com/users/roblav96/followers","following_url":"https://api.github.com/users/roblav96/following{/other_user}","gists_url":"https://api.github.com/users/roblav96/gists{/gist_id}","starred_url":"https://api.github.com/users/roblav96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblav96/subscriptions","organizations_url":"https://api.github.com/users/roblav96/orgs","repos_url":"https://api.github.com/users/roblav96/repos","events_url":"https://api.github.com/users/roblav96/events{/privacy}","received_events_url":"https://api.github.com/users/roblav96/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-14T22:04:43Z","updated_at":"2015-11-15T19:26:36Z","closed_at":null,"body":"I'm constantly getting this warning:\r\n```\r\nc-0  Warning: a promise was created in a  handler but was not returned from it\r\nc-0     at Term.run (/Users/roblav96/Projects/app/server/node_modules/rethinkdbdash/lib/term.js:145:21)\r\nc-0     at /Users/roblav96/Projects/app/server/src/routes/public/register.js:41:36\r\nc-0 From previous event:\r\nc-0     at Server.module.exports (/Users/roblav96/Projects/app/server/src/routes/public/register.js:16:45)\r\nc-0     at next (/Users/roblav96/Projects/app/server/node_modules/restify/lib/server.js:906:30)\r\nc-0     at f (/Users/roblav96/Projects/app/server/node_modules/once/once.js:17:25)\r\nc-0     at /Users/roblav96/Projects/app/server/src/middle/public/verify-initKey.js:24:4\r\nc-0     at bound (domain.js:280:14)\r\nc-0     at runBound (domain.js:293:12)\r\nc-0 From previous event:\r\nc-0     at /Users/roblav96/Projects/app/server/src/middle/public/verify-initKey.js:22:88\r\nc-0     at bound (domain.js:280:14)\r\nc-0     at runBound (domain.js:293:12)\r\nc-0     at tryCatcher (/Users/roblav96/Projects/app/server/node_modules/ioredis/node_modules/bluebird/js/main/util.js:26:23)\r\nc-0     at Promise._settlePromiseFromHandler (/Users/roblav96/Projects/app/server/node_modules/ioredis/node_modules/bluebird/js/main/promise.js:507:31)\r\nc-0     at Promise._settlePromiseAt (/Users/roblav96/Projects/app/server/node_modules/ioredis/node_modules/bluebird/js/main/promise.js:581:18)\r\nc-0     at Promise._settlePromises (/Users/roblav96/Projects/app/server/node_modules/ioredis/node_modules/bluebird/js/main/promise.js:697:14)\r\nc-0     at Async._drainQueue (/Users/roblav96/Projects/app/server/node_modules/ioredis/node_modules/bluebird/js/main/async.js:123:16)\r\nc-0     at Async._drainQueues (/Users/roblav96/Projects/app/server/node_modules/ioredis/node_modules/bluebird/js/main/async.js:133:10)\r\nc-0     at Immediate.Async.drainQueues [as _onImmediate] (/Users/roblav96/Projects/app/server/node_modules/ioredis/node_modules/bluebird/js/main/async.js:15:14)\r\nc-0     at processImmediate [as _immediateCallback] (timers.js:383:17)\r\n```\r\n\r\nI've already looked into the warning docs in the API. I tried returning null, but nothing works."},"comment":{"url":"https://api.github.com/repos/neumino/rethinkdbdash/issues/comments/156845400","html_url":"https://github.com/neumino/rethinkdbdash/issues/179#issuecomment-156845400","issue_url":"https://api.github.com/repos/neumino/rethinkdbdash/issues/179","id":156845400,"user":{"login":"neumino","id":1461947,"avatar_url":"https://avatars.githubusercontent.com/u/1461947?v=3","gravatar_id":"","url":"https://api.github.com/users/neumino","html_url":"https://github.com/neumino","followers_url":"https://api.github.com/users/neumino/followers","following_url":"https://api.github.com/users/neumino/following{/other_user}","gists_url":"https://api.github.com/users/neumino/gists{/gist_id}","starred_url":"https://api.github.com/users/neumino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neumino/subscriptions","organizations_url":"https://api.github.com/users/neumino/orgs","repos_url":"https://api.github.com/users/neumino/repos","events_url":"https://api.github.com/users/neumino/events{/privacy}","received_events_url":"https://api.github.com/users/neumino/received_events","type":"User","site_admin":false},"created_at":"2015-11-15T19:26:36Z","updated_at":"2015-11-15T19:26:36Z","body":"Can you provide a script that trigger this warning? I can't get to reproduce it.\r\n\r\nIt's also safe to return `null`. It can leaks if you don't bind an error listener and such, but we do."}}