{"action":"opened","issue":{"url":"https://api.github.com/repos/opbeat/opbeat_python/issues/81","labels_url":"https://api.github.com/repos/opbeat/opbeat_python/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/opbeat/opbeat_python/issues/81/comments","events_url":"https://api.github.com/repos/opbeat/opbeat_python/issues/81/events","html_url":"https://github.com/opbeat/opbeat_python/issues/81","id":116347489,"number":81,"title":"Django 404 middleware does not respect settings.DEBUG","user":{"login":"RasmusKlett","id":1564265,"avatar_url":"https://avatars.githubusercontent.com/u/1564265?v=3","gravatar_id":"","url":"https://api.github.com/users/RasmusKlett","html_url":"https://github.com/RasmusKlett","followers_url":"https://api.github.com/users/RasmusKlett/followers","following_url":"https://api.github.com/users/RasmusKlett/following{/other_user}","gists_url":"https://api.github.com/users/RasmusKlett/gists{/gist_id}","starred_url":"https://api.github.com/users/RasmusKlett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RasmusKlett/subscriptions","organizations_url":"https://api.github.com/users/RasmusKlett/orgs","repos_url":"https://api.github.com/users/RasmusKlett/repos","events_url":"https://api.github.com/users/RasmusKlett/events{/privacy}","received_events_url":"https://api.github.com/users/RasmusKlett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-11T14:43:08Z","updated_at":"2015-11-11T14:43:08Z","closed_at":null,"body":"The Django middleware \"opbeat.contrib.django.middleware.OpbeatAPMMiddleware\" does not send errors when settings.DEBUG = False. \r\nI would expect the same behaviour from \"opbeat.contrib.django.middleware.Opbeat404CatchMiddleware\", but it is not the case. From skimming the code, it does not appear that it attempts to check DEBUG at all, so it is probably just a matter of making it use the same check as the APMMiddleware."}}