{"action":"created","issue":{"url":"https://api.github.com/repos/gaearon/redux-devtools/issues/302","repository_url":"https://api.github.com/repos/gaearon/redux-devtools","labels_url":"https://api.github.com/repos/gaearon/redux-devtools/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/gaearon/redux-devtools/issues/302/comments","events_url":"https://api.github.com/repos/gaearon/redux-devtools/issues/302/events","html_url":"https://github.com/gaearon/redux-devtools/issues/302","id":164724499,"number":302,"title":"Unfriendly errors when trying to access undefined","user":{"login":"woniesong92","id":2935309,"avatar_url":"https://avatars.githubusercontent.com/u/2935309?v=3","gravatar_id":"","url":"https://api.github.com/users/woniesong92","html_url":"https://github.com/woniesong92","followers_url":"https://api.github.com/users/woniesong92/followers","following_url":"https://api.github.com/users/woniesong92/following{/other_user}","gists_url":"https://api.github.com/users/woniesong92/gists{/gist_id}","starred_url":"https://api.github.com/users/woniesong92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woniesong92/subscriptions","organizations_url":"https://api.github.com/users/woniesong92/orgs","repos_url":"https://api.github.com/users/woniesong92/repos","events_url":"https://api.github.com/users/woniesong92/events{/privacy}","received_events_url":"https://api.github.com/users/woniesong92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-10T17:07:49Z","updated_at":"2016-07-11T09:32:39Z","closed_at":null,"body":"<img width=\"645\" alt=\"screen shot 2016-07-10 at 9 51 55 am\" src=\"https://cloud.githubusercontent.com/assets/2935309/16714906/d0140d8c-4685-11e6-83b3-b8be57e86291.png\">\r\n\r\nYou get the errors above if you try to do anything like this inside a component's `render()`:\r\n\r\n```javacsript\r\nrender() {\r\n  const { name, age } = this.props.person // person object only contains `name` key\r\n}\r\n```\r\n\r\nYou can also reproduce the same error if you thought you imported something valid, but end up accessing `undefined`.\r\n\r\nIs there a way to get more useful errors like `age doesn't exist in undefined`?\r\nI thought using the latest `react-hot-loader` would solve the problem, but I might have been mistaken as I still see those unfriendly errors."},"comment":{"url":"https://api.github.com/repos/gaearon/redux-devtools/issues/comments/231686056","html_url":"https://github.com/gaearon/redux-devtools/issues/302#issuecomment-231686056","issue_url":"https://api.github.com/repos/gaearon/redux-devtools/issues/302","id":231686056,"user":{"login":"zalmoxisus","id":7957859,"avatar_url":"https://avatars.githubusercontent.com/u/7957859?v=3","gravatar_id":"","url":"https://api.github.com/users/zalmoxisus","html_url":"https://github.com/zalmoxisus","followers_url":"https://api.github.com/users/zalmoxisus/followers","following_url":"https://api.github.com/users/zalmoxisus/following{/other_user}","gists_url":"https://api.github.com/users/zalmoxisus/gists{/gist_id}","starred_url":"https://api.github.com/users/zalmoxisus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zalmoxisus/subscriptions","organizations_url":"https://api.github.com/users/zalmoxisus/orgs","repos_url":"https://api.github.com/users/zalmoxisus/repos","events_url":"https://api.github.com/users/zalmoxisus/events{/privacy}","received_events_url":"https://api.github.com/users/zalmoxisus/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T09:32:39Z","updated_at":"2016-07-11T09:32:39Z","body":"Thanks for the report, but I don't see how it's related to this repository (to Redux Devtools). Probably you want to address it to `react-hot-loader` repository."}}
{"actor":{"display_login":"zalmoxisus"}}