{"action":"created","issue":{"url":"https://api.github.com/repos/VSiniy/senseiOleg/issues/6","labels_url":"https://api.github.com/repos/VSiniy/senseiOleg/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/VSiniy/senseiOleg/issues/6/comments","events_url":"https://api.github.com/repos/VSiniy/senseiOleg/issues/6/events","html_url":"https://github.com/VSiniy/senseiOleg/issues/6","id":55672566,"number":6,"title":"Internal server error ","user":{"login":"olegpopadko","id":1937921,"avatar_url":"https://avatars.githubusercontent.com/u/1937921?v=3","gravatar_id":"","url":"https://api.github.com/users/olegpopadko","html_url":"https://github.com/olegpopadko","followers_url":"https://api.github.com/users/olegpopadko/followers","following_url":"https://api.github.com/users/olegpopadko/following{/other_user}","gists_url":"https://api.github.com/users/olegpopadko/gists{/gist_id}","starred_url":"https://api.github.com/users/olegpopadko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegpopadko/subscriptions","organizations_url":"https://api.github.com/users/olegpopadko/orgs","repos_url":"https://api.github.com/users/olegpopadko/repos","events_url":"https://api.github.com/users/olegpopadko/events{/privacy}","received_events_url":"https://api.github.com/users/olegpopadko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-01-27T20:50:43Z","updated_at":"2015-02-20T21:20:30Z","closed_at":null,"body":"Поменять во всем проекте https://github.com/VSiniy/senseiOleg/commit/479176c95a814e935c3d458a1b2c15a736d4ba8f#commitcomment-9467214"},"comment":{"url":"https://api.github.com/repos/VSiniy/senseiOleg/issues/comments/75321100","html_url":"https://github.com/VSiniy/senseiOleg/issues/6#issuecomment-75321100","issue_url":"https://api.github.com/repos/VSiniy/senseiOleg/issues/6","id":75321100,"user":{"login":"aivus","id":1021703,"avatar_url":"https://avatars.githubusercontent.com/u/1021703?v=3","gravatar_id":"","url":"https://api.github.com/users/aivus","html_url":"https://github.com/aivus","followers_url":"https://api.github.com/users/aivus/followers","following_url":"https://api.github.com/users/aivus/following{/other_user}","gists_url":"https://api.github.com/users/aivus/gists{/gist_id}","starred_url":"https://api.github.com/users/aivus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aivus/subscriptions","organizations_url":"https://api.github.com/users/aivus/orgs","repos_url":"https://api.github.com/users/aivus/repos","events_url":"https://api.github.com/users/aivus/events{/privacy}","received_events_url":"https://api.github.com/users/aivus/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T21:20:30Z","updated_at":"2015-02-20T21:20:30Z","body":"Вмешаюсь в вашу тусовку, если что - прогоните.\r\n\r\n@VSiniy в пхп есть возможность отлавливать все ошибки, которые возникают.\r\nЧтобы не писать везде [такие конструкции] (https://github.com/VSiniy/senseiOleg/blob/master/Record.php#L60)\r\n```\r\n        if (!$file)\r\n            header( 'HTTP/1.1 503 Service Unavailable' );\r\n```\r\n\r\nТакже стоит учесть, что при возникновении ошибки скрипт должен завершать свою работу. Сейчас этого не происходит."}}