Ticket #14968: catch_base_exception.diff

File catch_base_exception.diff, 643 bytes (added by Alexander Schepanovski, 14 years ago)
  • django/core/handlers/base.py

     
    9898
    9999                try:
    100100                    response = callback(request, *callback_args, **callback_kwargs)
    101                 except Exception, e:
     101                except BaseException, e:
    102102                    # If the view raised an exception, run it through exception
    103103                    # middleware, and if the exception middleware returns a
    104104                    # response, use that. Otherwise, reraise the exception.
Back to Top