{"action":"opened","issue":{"url":"https://api.github.com/repos/haadcode/ipfs-log/issues/93","repository_url":"https://api.github.com/repos/haadcode/ipfs-log","labels_url":"https://api.github.com/repos/haadcode/ipfs-log/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/haadcode/ipfs-log/issues/93/comments","events_url":"https://api.github.com/repos/haadcode/ipfs-log/issues/93/events","html_url":"https://github.com/haadcode/ipfs-log/issues/93","id":195166674,"number":93,"title":".data is a `buffer`","user":{"login":"diasdavid","id":1211152,"avatar_url":"https://avatars.githubusercontent.com/u/1211152?v=3","gravatar_id":"","url":"https://api.github.com/users/diasdavid","html_url":"https://github.com/diasdavid","followers_url":"https://api.github.com/users/diasdavid/followers","following_url":"https://api.github.com/users/diasdavid/following{/other_user}","gists_url":"https://api.github.com/users/diasdavid/gists{/gist_id}","starred_url":"https://api.github.com/users/diasdavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diasdavid/subscriptions","organizations_url":"https://api.github.com/users/diasdavid/orgs","repos_url":"https://api.github.com/users/diasdavid/repos","events_url":"https://api.github.com/users/diasdavid/events{/privacy}","received_events_url":"https://api.github.com/users/diasdavid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-13T05:40:00Z","updated_at":"2016-12-13T05:40:00Z","closed_at":null,"body":".data inside a IPFS object is a Buffer, so doing a straight JSON.parse will fail (or should)\r\n\r\nhttps://github.com/haadcode/ipfs-log/blob/master/src/log.js#L120-L128\r\n\r\nSince this JSON.parse is wrapped in a promise and there is no catch, the error goes in silence.\r\n\r\nAnother issue is that since logData might go undefined, logData.items will throw and error too."}}
{"actor":{"display_login":"diasdavid"}}