Re: Log Exception with Backtrace

2008-10-17 Thread Chris Rebert
On Fri, Oct 17, 2008 at 9:40 AM, Heston James - Cold Beans <[EMAIL PROTECTED]> wrote: > Afternoon Guys, > > I'm currently logging exceptions within my applications like so: > > try: > #do something > except Exception, error: > # Log the exception. > self.logger.error("Exception Occu

Log Exception with Backtrace

2008-10-17 Thread Heston James - Cold Beans
Afternoon Guys, I'm currently logging exceptions within my applications like so: try: #do something except Exception, error: # Log the exception. self.logger.error("Exception Occurred: (%s)" % str(error)) This is quite fine, however, sometimes I get very vague error