{"action":"opened","issue":{"url":"https://api.github.com/repos/luin/ioredis/issues/194","labels_url":"https://api.github.com/repos/luin/ioredis/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/luin/ioredis/issues/194/comments","events_url":"https://api.github.com/repos/luin/ioredis/issues/194/events","html_url":"https://github.com/luin/ioredis/issues/194","id":116516803,"number":194,"title":"#hgetall() calls both then() and catch() when key doesn't exists","user":{"login":"skuridin","id":929601,"avatar_url":"https://avatars.githubusercontent.com/u/929601?v=3","gravatar_id":"","url":"https://api.github.com/users/skuridin","html_url":"https://github.com/skuridin","followers_url":"https://api.github.com/users/skuridin/followers","following_url":"https://api.github.com/users/skuridin/following{/other_user}","gists_url":"https://api.github.com/users/skuridin/gists{/gist_id}","starred_url":"https://api.github.com/users/skuridin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skuridin/subscriptions","organizations_url":"https://api.github.com/users/skuridin/orgs","repos_url":"https://api.github.com/users/skuridin/repos","events_url":"https://api.github.com/users/skuridin/events{/privacy}","received_events_url":"https://api.github.com/users/skuridin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-12T10:02:38Z","updated_at":"2015-11-12T10:02:38Z","closed_at":null,"body":"```js\r\nredis.hgetall('does_not_exists_key')\r\n  .then(photo => {\r\n     console.error(true);\r\n  })\r\n  .catch(err => {\r\n    console.error(false);\r\n  });\r\n```\r\n\r\n```\r\n=> true\r\n=> false\r\n```"}}