Re: How to include session data in traceback

2009-04-30 Thread Brian Morton
D'oh. Thanks. I was confusing load and loads. I thought they were the same thing. On Apr 30, 12:55 pm, Malcolm Tredinnick wrote: > On Thu, 2009-04-30 at 09:47 -0700, Brian Morton wrote: > > Thanks.  That makes perfect sense.  Since my session data is persisted > > in the db (and I don't have

Re: How to include session data in traceback

2009-04-30 Thread Malcolm Tredinnick
On Thu, 2009-04-30 at 09:47 -0700, Brian Morton wrote: > Thanks. That makes perfect sense. Since my session data is persisted > in the db (and I don't have a cleanup script active at the moment), I > can retrieve the pickled session data based on the session id in the > cookie (that is in the tr

Re: How to include session data in traceback

2009-04-30 Thread Brian Morton
Thanks. That makes perfect sense. Since my session data is persisted in the db (and I don't have a cleanup script active at the moment), I can retrieve the pickled session data based on the session id in the cookie (that is in the traceback). The problem is decoding that session data. Can the

Re: How to include session data in traceback

2009-04-30 Thread Malcolm Tredinnick
On Thu, 2009-04-30 at 04:58 -0700, Brian Morton wrote: > I am considering filing an enhancement request but I want to check > first to make sure this functionality doesn't already exist. > > Is there some way to make Django include the contents of session in > the traceback email received from a

How to include session data in traceback

2009-04-30 Thread Brian Morton
I am considering filing an enhancement request but I want to check first to make sure this functionality doesn't already exist. Is there some way to make Django include the contents of session in the traceback email received from a 500 error? It is very useful in the case of debugging an error w