{"action":"created","issue":{"url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/3982","labels_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/3982/labels{/name}","comments_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/3982/comments","events_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/3982/events","html_url":"https://github.com/bcit-ci/CodeIgniter/issues/3982","id":95638238,"number":3982,"title":"Error/exception handler overriding?","user":{"login":"jamieburchell","id":3270426,"avatar_url":"https://avatars.githubusercontent.com/u/3270426?v=3","gravatar_id":"","url":"https://api.github.com/users/jamieburchell","html_url":"https://github.com/jamieburchell","followers_url":"https://api.github.com/users/jamieburchell/followers","following_url":"https://api.github.com/users/jamieburchell/following{/other_user}","gists_url":"https://api.github.com/users/jamieburchell/gists{/gist_id}","starred_url":"https://api.github.com/users/jamieburchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamieburchell/subscriptions","organizations_url":"https://api.github.com/users/jamieburchell/orgs","repos_url":"https://api.github.com/users/jamieburchell/repos","events_url":"https://api.github.com/users/jamieburchell/events{/privacy}","received_events_url":"https://api.github.com/users/jamieburchell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-17T11:17:13Z","updated_at":"2015-07-17T11:31:22Z","closed_at":"2015-07-17T11:19:23Z","body":"I'd like to be able to handle uncaught exceptions and PHP errors at a global level with the ability to email details of the error and to show the user a generic page/template.\r\n\r\nFrom what I can work out, if `display_errors` is off - the user will get a blank page with no useful information and worse there is no ability to handle the error further to send an email.\r\n\r\nAm I missing something or do I need to override the default/php exception handlers from the CI core? Is that even possible?"},"comment":{"url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/comments/122251559","html_url":"https://github.com/bcit-ci/CodeIgniter/issues/3982#issuecomment-122251559","issue_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/3982","id":122251559,"user":{"login":"jamieburchell","id":3270426,"avatar_url":"https://avatars.githubusercontent.com/u/3270426?v=3","gravatar_id":"","url":"https://api.github.com/users/jamieburchell","html_url":"https://github.com/jamieburchell","followers_url":"https://api.github.com/users/jamieburchell/followers","following_url":"https://api.github.com/users/jamieburchell/following{/other_user}","gists_url":"https://api.github.com/users/jamieburchell/gists{/gist_id}","starred_url":"https://api.github.com/users/jamieburchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamieburchell/subscriptions","organizations_url":"https://api.github.com/users/jamieburchell/orgs","repos_url":"https://api.github.com/users/jamieburchell/repos","events_url":"https://api.github.com/users/jamieburchell/events{/privacy}","received_events_url":"https://api.github.com/users/jamieburchell/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T11:31:22Z","updated_at":"2015-07-17T11:31:22Z","body":"I'd suggest exit(1) with no ability to show or do anything useful if display errors is off is a bug, but then I don't know what the intended functionality is here "}}