Ticket #5109: 5109 error signal request argument.patch
File 5109 error signal request argument.patch, 792 bytes (added by , 17 years ago) |
---|
-
core/handlers/base.py
112 112 else: 113 113 # Get the exception info now, in case another exception is thrown later. 114 114 exc_info = sys.exc_info() 115 receivers = dispatcher.send(signal=signals.got_request_exception )115 receivers = dispatcher.send(signal=signals.got_request_exception, request=request) 116 116 # When DEBUG is False, send an error message to the admins. 117 117 subject = 'Error (%s IP): %s' % ((request.META.get('REMOTE_ADDR') in settings.INTERNAL_IPS and 'internal' or 'EXTERNAL'), request.path) 118 118 try: