Opened 19 years ago

Closed 18 years ago

#1514 closed defect (duplicate)

No way to allow exceptions to raise out of Django

Reported by: ianb@… Owned by: Adrian Holovaty
Component: Core (Other) Version: dev
Severity: normal Keywords:
Cc: ianb@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In trunk, django.core.handlers.base, exceptions are captured and displayed. However, in testing environments it is preferable that the exception not be handled and simply raised (or, for example, a rollback and then the exception is re-raised). There's no way to get it to do this now.

This also allows Django to use Paste's exception handlers. Paste in particular indicates this by putting environ['paste.throw_errors']=True into the WSGI environment, and does this both when an exception handler is already installed, and in testing environments.

Change History (1)

comment:1 by Michael Radziej <mir@…>, 18 years ago

Resolution: duplicate
Status: newclosed

duplicate of #3452

Note: See TracTickets for help on using tickets.
Back to Top