I'm a fan of only having this line in the try block, to avoid catching programming errors along with runtime errors (such as network errors).