Thank you Sid! Early on there were no responses to my question, and I hadn't looked recently. So just now I got back to this issue and googled "django error email user" and what a suprise to find my own question (with your response) came back near the top of my search! Your response was so excellent and concise, took me just a few minutes to get it integrated and working. Thank you!!!
Margie On Oct 25, 10:17 pm, Sid <sidmitra....@gmail.com> wrote: > 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. > > Seehttp://gist.github.com/646372 > > You can modify that to add any info to the emails. > > Sidhttp://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.