{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/sentry-python/issues/19","repository_url":"https://api.github.com/repos/getsentry/sentry-python","labels_url":"https://api.github.com/repos/getsentry/sentry-python/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/sentry-python/issues/19/comments","events_url":"https://api.github.com/repos/getsentry/sentry-python/issues/19/events","html_url":"https://github.com/getsentry/sentry-python/issues/19","id":349181943,"node_id":"MDU6SXNzdWUzNDkxODE5NDM=","number":19,"title":"Notes for Django","user":{"login":"dcramer","id":23610,"node_id":"MDQ6VXNlcjIzNjEw","avatar_url":"https://avatars0.githubusercontent.com/u/23610?v=4","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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-09T15:36:37Z","updated_at":"2018-08-09T18:15:26Z","closed_at":null,"author_association":"MEMBER","body":"- Probably should try to find an earlier entry point other than settings.py (but I'm out of touch w/ Django's load process)\r\n- sentry_sdk.init is better than init on our suggest import process\r\n\r\nTest Plan:\r\n\r\n- [ ] catches wsgi error?\r\n- [ ] catches manage.py error?\r\n- [x] catches sys.except_hook (non manage.py) error?\r\n- [x] catches middleware error?\r\n- [x] catches view error?"},"comment":{"url":"https://api.github.com/repos/getsentry/sentry-python/issues/comments/411849212","html_url":"https://github.com/getsentry/sentry-python/issues/19#issuecomment-411849212","issue_url":"https://api.github.com/repos/getsentry/sentry-python/issues/19","id":411849212,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTg0OTIxMg==","user":{"login":"untitaker","id":837573,"node_id":"MDQ6VXNlcjgzNzU3Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/837573?v=4","gravatar_id":"","url":"https://api.github.com/users/untitaker","html_url":"https://github.com/untitaker","followers_url":"https://api.github.com/users/untitaker/followers","following_url":"https://api.github.com/users/untitaker/following{/other_user}","gists_url":"https://api.github.com/users/untitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/untitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untitaker/subscriptions","organizations_url":"https://api.github.com/users/untitaker/orgs","repos_url":"https://api.github.com/users/untitaker/repos","events_url":"https://api.github.com/users/untitaker/events{/privacy}","received_events_url":"https://api.github.com/users/untitaker/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T18:15:26Z","updated_at":"2018-08-09T18:15:26Z","author_association":"MEMBER","body":"raw wsgi errors are not caught at all. I think this needs more thought, especially wrt how to deduplicate code between Flask and Django. I'd like to attach parts of the environ but then I duplicate already existing functionality that operates on request objects.\r\n\r\nIn the long term I suspect we will have to convert everything to a WSGI middleware and do our own request parsing."}}
{"actor":{"display_login":"untitaker"}}