Ticket #5109: 5109 error signal request argument.patch

File 5109 error signal request argument.patch, 792 bytes (added by Collin Anderson <cmawebsite@…>, 17 years ago)

patch against r5830 that adds this

  • core/handlers/base.py

     
    112112            else:
    113113                # Get the exception info now, in case another exception is thrown later.
    114114                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)
    116116                # When DEBUG is False, send an error message to the admins.
    117117                subject = 'Error (%s IP): %s' % ((request.META.get('REMOTE_ADDR') in settings.INTERNAL_IPS and 'internal' or 'EXTERNAL'), request.path)
    118118                try:
Back to Top