Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #1023 -- Base handler no longer calls mail_admins() on SystemEx…

…it, in case of forked processes called from views. Thanks, Hugo

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 374d02e5983e2cb48a538fd10d51e4fdc05c204d 1 parent a537b8e
Adrian Holovaty authored May 26, 2006

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  django/core/handlers/base.py
2  django/core/handlers/base.py
@@ -95,6 +95,8 @@ def get_response(self, path, request):
95 95
                 return callback(request, **param_dict)
96 96
         except exceptions.PermissionDenied:
97 97
             return http.HttpResponseForbidden('<h1>Permission denied</h1>')
  98
+        except SystemExit:
  99
+            pass # See http://code.djangoproject.com/ticket/1023
98 100
         except: # Handle everything else, including SuspiciousOperation, etc.
99 101
             if settings.DEBUG:
100 102
                 return self.get_technical_error_response(request)

0 notes on commit 374d02e

Please sign in to comment.
Something went wrong with that request. Please try again.