{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/sentry-php/issues/337","repository_url":"https://api.github.com/repos/getsentry/sentry-php","labels_url":"https://api.github.com/repos/getsentry/sentry-php/issues/337/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/sentry-php/issues/337/comments","events_url":"https://api.github.com/repos/getsentry/sentry-php/issues/337/events","html_url":"https://github.com/getsentry/sentry-php/issues/337","id":170996039,"number":337,"title":"async method: fatal error not sent because curl handler shutdown function has already run","user":{"login":"mfb","id":3278,"avatar_url":"https://avatars.githubusercontent.com/u/3278?v=3","gravatar_id":"","url":"https://api.github.com/users/mfb","html_url":"https://github.com/mfb","followers_url":"https://api.github.com/users/mfb/followers","following_url":"https://api.github.com/users/mfb/following{/other_user}","gists_url":"https://api.github.com/users/mfb/gists{/gist_id}","starred_url":"https://api.github.com/users/mfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfb/subscriptions","organizations_url":"https://api.github.com/users/mfb/orgs","repos_url":"https://api.github.com/users/mfb/repos","events_url":"https://api.github.com/users/mfb/events{/privacy}","received_events_url":"https://api.github.com/users/mfb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-13T06:31:35Z","updated_at":"2016-08-14T22:46:18Z","closed_at":null,"body":"If you have curl method set to async, fatal errors are not sent to Sentry because the curl handler shutdown function is registered to run before the fatal error handler shutdown function."},"comment":{"url":"https://api.github.com/repos/getsentry/sentry-php/issues/comments/239702498","html_url":"https://github.com/getsentry/sentry-php/issues/337#issuecomment-239702498","issue_url":"https://api.github.com/repos/getsentry/sentry-php/issues/337","id":239702498,"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-08-14T22:46:18Z","updated_at":"2016-08-14T22:46:18Z","body":"I think we need to refactor the shutdown code -- right now it lives somewhat in ErrorHandler. We can simply register a default shutdown function to always force flush the queue, even outside of async."}}
{"actor":{"display_login":"dcramer"}}