don't assign the tb variable and pull sys.exc_info() out of the try