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
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
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
3 matches
Mail list logo