{"action":"created","issue":{"url":"https://api.github.com/repos/internetsadboy/short-url/issues/3","repository_url":"https://api.github.com/repos/internetsadboy/short-url","labels_url":"https://api.github.com/repos/internetsadboy/short-url/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/internetsadboy/short-url/issues/3/comments","events_url":"https://api.github.com/repos/internetsadboy/short-url/issues/3/events","html_url":"https://github.com/internetsadboy/short-url/issues/3","id":221833603,"number":3,"title":"app crashes if usage limits are reached.","user":{"login":"mreis1","id":1719667,"avatar_url":"https://avatars2.githubusercontent.com/u/1719667?v=3","gravatar_id":"","url":"https://api.github.com/users/mreis1","html_url":"https://github.com/mreis1","followers_url":"https://api.github.com/users/mreis1/followers","following_url":"https://api.github.com/users/mreis1/following{/other_user}","gists_url":"https://api.github.com/users/mreis1/gists{/gist_id}","starred_url":"https://api.github.com/users/mreis1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreis1/subscriptions","organizations_url":"https://api.github.com/users/mreis1/orgs","repos_url":"https://api.github.com/users/mreis1/repos","events_url":"https://api.github.com/users/mreis1/events{/privacy}","received_events_url":"https://api.github.com/users/mreis1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-14T15:41:48Z","updated_at":"2017-06-28T23:16:47Z","closed_at":null,"body":"      shortUrlReq.execute(function(err, res) {\r\n        cb(err, (res && res.id) ? res.id : null); //<---- fix will prevent the app from crashing if the \r\n      });\r\n    });\r\n\r\nThe sample above will safely access the res.id. \r\n\r\nHere's an example of error returned by googleapi webservice.\r\n```json\r\n{\"errors\":[{\"domain\":\"usageLimits\",\"reason\":\"dailyLimitExceededUnreg\",\"message\":\"Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.\",\"extendedHelp\":\"https://code.google.com/apis/console\"}],\"code\":403,\"message\":\"Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.\"}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/internetsadboy/short-url/issues/comments/311818195","html_url":"https://github.com/internetsadboy/short-url/issues/3#issuecomment-311818195","issue_url":"https://api.github.com/repos/internetsadboy/short-url/issues/3","id":311818195,"user":{"login":"omgimanerd","id":7121024,"avatar_url":"https://avatars2.githubusercontent.com/u/7121024?v=3","gravatar_id":"","url":"https://api.github.com/users/omgimanerd","html_url":"https://github.com/omgimanerd","followers_url":"https://api.github.com/users/omgimanerd/followers","following_url":"https://api.github.com/users/omgimanerd/following{/other_user}","gists_url":"https://api.github.com/users/omgimanerd/gists{/gist_id}","starred_url":"https://api.github.com/users/omgimanerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omgimanerd/subscriptions","organizations_url":"https://api.github.com/users/omgimanerd/orgs","repos_url":"https://api.github.com/users/omgimanerd/repos","events_url":"https://api.github.com/users/omgimanerd/events{/privacy}","received_events_url":"https://api.github.com/users/omgimanerd/received_events","type":"User","site_admin":false},"created_at":"2017-06-28T23:16:47Z","updated_at":"2017-06-28T23:16:47Z","body":"Is this repository still maintained? It might be best to have this package accept an API key."}}
{"actor":{"display_login":"omgimanerd"}}