Hi,
On May 10, 11:33 pm, Shawn Milochik wrote:
> You and someone on django-users both told me about process_exception,
> which I had been unaware of. It looks perfect for what I need.
There is also a signal for it:
On 05/10/2011 04:52 PM, Michael Blume wrote:
A developer can currently do this pretty easily with middleware by
setting a process_exception method. We could provide some contrib
middleware for logging exceptions, but I don't see any need to bring
this into core.
-Mike
Mike,
You and
A developer can currently do this pretty easily with middleware by setting a
process_exception method. We could provide some contrib middleware for
logging exceptions, but I don't see any need to bring this into core.
-Mike
On Tue, May 10, 2011 at 1:26 PM, Shawn Milochik
I think this is something I'd like to open up a ticket for, but first I
want to see whether it's already possible, or is overruled by existing
design decisions.
Desire:
Now that logging is built into Django, I think that any time there is an
exception in a view a logging.exception message