I'm curious why you left this outside of the try-except?