{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/sentry-php/issues/280","repository_url":"https://api.github.com/repos/getsentry/sentry-php","labels_url":"https://api.github.com/repos/getsentry/sentry-php/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/sentry-php/issues/280/comments","events_url":"https://api.github.com/repos/getsentry/sentry-php/issues/280/events","html_url":"https://github.com/getsentry/sentry-php/issues/280","id":152839894,"number":280,"title":"Browser gets a 200/OK blank page when default exception handler is registered","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":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-03T18:15:21Z","updated_at":"2016-05-08T15:57:58Z","closed_at":null,"body":"Using the following code:\r\n\r\n```\r\n$client = new Raven_Client(SENTRY_DSN);\r\n$handler = new Raven_ErrorHandler($client, false, null, SENTRY_ERROR_TYPES);\r\n$handler->registerExceptionHandler();\r\n$handler->registerErrorHandler();\r\n$handler->registerShutdownFunction();\r\n```\r\n\r\nWhen an uncaught exception is caught by the `Raven_Client`, the browser receives a 200/OK response and blank page. Commenting out the `registerExceptionHandler()` line gives the expected 500/Internal Server Error response and stock browser message.\r\n\r\nNote in the scenario above, there is no existing exception handler registered.\r\n\r\nThis may be caused by the fact that the exception is actually caught, I'm looking now to see if I can find out more; it would be handy if the response was 500."},"comment":{"url":"https://api.github.com/repos/getsentry/sentry-php/issues/comments/217729330","html_url":"https://github.com/getsentry/sentry-php/issues/280#issuecomment-217729330","issue_url":"https://api.github.com/repos/getsentry/sentry-php/issues/280","id":217729330,"user":{"login":"dcramer","id":23610,"avatar_url":"https://avatars.githubusercontent.com/u/23610?v=3","gravatar_id":"","url":"https://api.github.com/users/dcramer","html_url":"https://github.com/dcramer","followers_url":"https://api.github.com/users/dcramer/followers","following_url":"https://api.github.com/users/dcramer/following{/other_user}","gists_url":"https://api.github.com/users/dcramer/gists{/gist_id}","starred_url":"https://api.github.com/users/dcramer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcramer/subscriptions","organizations_url":"https://api.github.com/users/dcramer/orgs","repos_url":"https://api.github.com/users/dcramer/repos","events_url":"https://api.github.com/users/dcramer/events{/privacy}","received_events_url":"https://api.github.com/users/dcramer/received_events","type":"User","site_admin":false},"created_at":"2016-05-08T15:57:57Z","updated_at":"2016-05-08T15:57:57Z","body":"@jamieburchell is it something that is easy enough for you to pass in your own handler? I'm not sure if thats the best solution, but potentially you could re-throw from there. We could also try to handle this internally in the SDK as well."}}