Why can't you just create middleware and use process_exception or
write python logging handler ?

Kristaps Kūlis



On Wed, Mar 30, 2011 at 1:48 PM, Sameer Rahmani <lxsam...@lxsameer.com> wrote:
> hi,
> i make a little change to django 1.2.5 according to my needs and i want
> to know your notes about it.
>
> by this patch you can specify a uncaught exception handler in you
> settings file just like:
>
> EXCEPTION_HANDLER = somefunciton
>
> and "somefunction" function will be called every time you got an
> uncaught exception.
>
> i use it for logging my uncaught exception through the network
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django developers" group.
> To post to this group, send email to django-developers@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-developers+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-developers?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to