Re: Simulating logging.exception with another traceback

2010-02-09 Thread Joan Miller
On 8 feb, 21:13, Vinay Sajip wrote: > On Feb 7, 11:22 am, Joan Miller wrote: > > > > > I would want to get the output from `logging.exception` but with > > traceback from the caller function (I've already all that > > information). > > > This would be the error withlogging.exception: > >

Re: Simulating logging.exception with another traceback

2010-02-08 Thread Vinay Sajip
On Feb 7, 11:22 am, Joan Miller wrote: > I would want to get the output from `logging.exception` but with > traceback from the caller function (I've already all that > information). > > This would be the error withlogging.exception: > > ERROR: >   PipeError('/bin/ls -l |  ', '

Simulating logging.exception with another traceback

2010-02-07 Thread Joan Miller
I would want to get the output from `logging.exception` but with traceback from the caller function (I've already all that information). This would be the error with logging.exception: ERROR: PipeError('/bin/ls -l | ', 'no command after of pipe') Traceback (most recent call