I wrote a middleware that adds a process_exception handler. It adds
the user info to the request.META so they show up in emails.

See http://gist.github.com/646372

You can modify that to add any info to the emails.

Sid
http://sidmitra.com


On Oct 16, 3:20 am, Margie Roginski <margierogin...@yahoo.com> wrote:
> I finally turned off DEBUG on my site and got set up so that the
> django code would email me the exceptions.  This is ultra-cool!  So I
> got m first one in the mail today, and was hard-pressed to figure out
> the user that ran into the error.  I don't find request.user anywhere
> in the report.  Do I need to write the process_exception() middleware
> and add it in myself?  Anyone have an example?!
>
> Thanks!
>
> Margie

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

Reply via email to