Catch statement to handle bad html requests.