Browse Source

Removing documentation regarding CATCH_404_ERRORS as it was no longer valid

David Cramer 14 years ago
parent
commit
064fa8c8e1
3 changed files with 0 additions and 16 deletions
  1. 0 10
      README.rst
  2. 0 4
      sentry/client/models.py
  3. 0 2
      sentry/conf.py

+ 0 - 10
README.rst

@@ -147,16 +147,6 @@ removing the ``ADMINS`` setting in Django, and adding in ``SENTRY_ADMINS``::
 This will send out a notification the first time an error is seen, and the first time an error is
 seen after it has been resolved.
 
-#######################
-SENTRY_CATCH_404_ERRORS
-#######################
-
-Enable catching of 404 errors in the logs. Default value is ``False``::
-
-	SENTRY_CATCH_404_ERRORS = True
-
-You can skip other custom exception types by adding a ``skip_sentry = True`` attribute to them.
-
 #####################
 SENTRY_DATABASE_USING
 #####################

+ 0 - 4
sentry/client/models.py

@@ -24,10 +24,6 @@ def sentry_exception_handler(sender, request=None, **kwargs):
     try:
         exc_type, exc_value, exc_traceback = sys.exc_info()
 
-        if not conf.CATCH_404_ERRORS \
-                and issubclass(exc_type, Http404):
-            return
-
         if conf.DEBUG or getattr(exc_type, 'skip_sentry', False):
             return
 

+ 0 - 2
sentry/conf.py

@@ -8,8 +8,6 @@ import socket
 # Allow local testing of Sentry even if DEBUG is enabled
 DEBUG = getattr(settings, 'DEBUG', False) and not getattr(settings, 'SENTRY_TESTING', False)
 
-CATCH_404_ERRORS = getattr(settings, 'SENTRY_CATCH_404_ERRORS', False)
-
 DATABASE_USING = getattr(settings, 'SENTRY_DATABASE_USING', None)
 
 THRASHING_TIMEOUT = getattr(settings, 'SENTRY_THRASHING_TIMEOUT', 60)