How can I log my Python errors?

try:
    do_something()
except:
    # How can I log my exception here, complete with its traceback?

11 Answers
11

Leave a Reply

Your email address will not be published. Required fields are marked *