{"action":"created","issue":{"url":"https://api.github.com/repos/jake-cryptic/patchy/issues/1","labels_url":"https://api.github.com/repos/jake-cryptic/patchy/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jake-cryptic/patchy/issues/1/comments","events_url":"https://api.github.com/repos/jake-cryptic/patchy/issues/1/events","html_url":"https://github.com/jake-cryptic/patchy/issues/1","id":121895870,"number":1,"title":"using die()","user":{"login":"exyjerome","id":15837573,"avatar_url":"https://avatars.githubusercontent.com/u/15837573?v=3","gravatar_id":"","url":"https://api.github.com/users/exyjerome","html_url":"https://github.com/exyjerome","followers_url":"https://api.github.com/users/exyjerome/followers","following_url":"https://api.github.com/users/exyjerome/following{/other_user}","gists_url":"https://api.github.com/users/exyjerome/gists{/gist_id}","starred_url":"https://api.github.com/users/exyjerome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exyjerome/subscriptions","organizations_url":"https://api.github.com/users/exyjerome/orgs","repos_url":"https://api.github.com/users/exyjerome/repos","events_url":"https://api.github.com/users/exyjerome/events{/privacy}","received_events_url":"https://api.github.com/users/exyjerome/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-13T03:40:02Z","updated_at":"2015-12-13T15:51:58Z","closed_at":null,"body":"if (accountLoggedIn()) {\r\n\t die(\"Error: You are logged in.\");\r\n} else {\r\n\r\nWhy are you using die() to show a simple message? \r\n\r\nJust echo a message or header -> location home..\r\n\r\ndie() should only really be used to stop script execution.."},"comment":{"url":"https://api.github.com/repos/jake-cryptic/patchy/issues/comments/164269743","html_url":"https://github.com/jake-cryptic/patchy/issues/1#issuecomment-164269743","issue_url":"https://api.github.com/repos/jake-cryptic/patchy/issues/1","id":164269743,"user":{"login":"jake-cryptic","id":8399207,"avatar_url":"https://avatars.githubusercontent.com/u/8399207?v=3","gravatar_id":"","url":"https://api.github.com/users/jake-cryptic","html_url":"https://github.com/jake-cryptic","followers_url":"https://api.github.com/users/jake-cryptic/followers","following_url":"https://api.github.com/users/jake-cryptic/following{/other_user}","gists_url":"https://api.github.com/users/jake-cryptic/gists{/gist_id}","starred_url":"https://api.github.com/users/jake-cryptic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jake-cryptic/subscriptions","organizations_url":"https://api.github.com/users/jake-cryptic/orgs","repos_url":"https://api.github.com/users/jake-cryptic/repos","events_url":"https://api.github.com/users/jake-cryptic/events{/privacy}","received_events_url":"https://api.github.com/users/jake-cryptic/received_events","type":"User","site_admin":false},"created_at":"2015-12-13T15:51:58Z","updated_at":"2015-12-13T15:51:58Z","body":"It's just a habit, I will improve this in the next version"}}