{"action":"created","issue":{"url":"https://api.github.com/repos/sealevelresearch/sea-level-api/issues/141","labels_url":"https://api.github.com/repos/sealevelresearch/sea-level-api/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/sealevelresearch/sea-level-api/issues/141/comments","events_url":"https://api.github.com/repos/sealevelresearch/sea-level-api/issues/141/events","html_url":"https://github.com/sealevelresearch/sea-level-api/pull/141","id":69688016,"number":141,"title":"Send emails on Django errors","user":{"login":"paulfurley","id":254290,"avatar_url":"https://avatars.githubusercontent.com/u/254290?v=3","gravatar_id":"","url":"https://api.github.com/users/paulfurley","html_url":"https://github.com/paulfurley","followers_url":"https://api.github.com/users/paulfurley/followers","following_url":"https://api.github.com/users/paulfurley/following{/other_user}","gists_url":"https://api.github.com/users/paulfurley/gists{/gist_id}","starred_url":"https://api.github.com/users/paulfurley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulfurley/subscriptions","organizations_url":"https://api.github.com/users/paulfurley/orgs","repos_url":"https://api.github.com/users/paulfurley/repos","events_url":"https://api.github.com/users/paulfurley/events{/privacy}","received_events_url":"https://api.github.com/users/paulfurley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-20T21:40:44Z","updated_at":"2015-04-21T09:41:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sealevelresearch/sea-level-api/pulls/141","html_url":"https://github.com/sealevelresearch/sea-level-api/pull/141","diff_url":"https://github.com/sealevelresearch/sea-level-api/pull/141.diff","patch_url":"https://github.com/sealevelresearch/sea-level-api/pull/141.patch"},"body":"- Add `mail_admins` log handler\n- Add `debug` app to help simulate errors\n- Add settings for sending email eg `SERVER_EMAIL` and `EMAIL_*`\n- Set `ADMINS` and `MANAGERS`\n\nhttps://www.pivotaltracker.com/story/show/75897458"},"comment":{"url":"https://api.github.com/repos/sealevelresearch/sea-level-api/issues/comments/94722522","html_url":"https://github.com/sealevelresearch/sea-level-api/pull/141#issuecomment-94722522","issue_url":"https://api.github.com/repos/sealevelresearch/sea-level-api/issues/141","id":94722522,"user":{"login":"paulfurley","id":254290,"avatar_url":"https://avatars.githubusercontent.com/u/254290?v=3","gravatar_id":"","url":"https://api.github.com/users/paulfurley","html_url":"https://github.com/paulfurley","followers_url":"https://api.github.com/users/paulfurley/followers","following_url":"https://api.github.com/users/paulfurley/following{/other_user}","gists_url":"https://api.github.com/users/paulfurley/gists{/gist_id}","starred_url":"https://api.github.com/users/paulfurley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulfurley/subscriptions","organizations_url":"https://api.github.com/users/paulfurley/orgs","repos_url":"https://api.github.com/users/paulfurley/repos","events_url":"https://api.github.com/users/paulfurley/events{/privacy}","received_events_url":"https://api.github.com/users/paulfurley/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T09:41:40Z","updated_at":"2015-04-21T09:41:40Z","body":"Ah, tests fail because `EMAIL_*` not in Travis environment. Maybe move most of these into `production.py` and only put credentials in environment?"}}