Added better exception handling to get requests.