python - How do I print out the full traceback in my except call? -


right now, this:

try:     blah except exception, e:     print e     time.sleep(9999) 

instead of print e, want print out entire traceback. , sleep 999.

import traceback   traceback.print_exc()   

Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -